Update to PHP 8.4, new option lib
This commit is contained in:
@@ -22,7 +22,7 @@ class ArrayMapperTest extends TestCase
|
||||
public function testMapSucceeds(): void
|
||||
{
|
||||
$result = ['one' => 2, 'three' => 4, 'eight' => 'five'];
|
||||
$mapped = (new ArrayMapper())->map($result);
|
||||
$mapped = new ArrayMapper()->map($result);
|
||||
$this->assertSame($result, $mapped, 'The array mapper should return the parameter given to it');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user