Skip to content

Commit b35693e

Browse files
OskarStarkGromNaN
andauthored
Update ObjectMapperTest.php
Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
1 parent da0230d commit b35693e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ObjectMapper/Tests/ObjectMapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public function testTransformToWrongObject()
254254
$this->expectException(MappingException::class);
255255
$this->expectExceptionMessage(\sprintf('Expected the mapped object to be an instance of "%s" but got "stdClass".', ClassWithoutTarget::class));
256256

257-
$u = new \stdClass;
257+
$u = new \stdClass();
258258
$u->foo = 'bar';
259259

260260
$metadata = $this->createStub(ObjectMapperMetadataFactoryInterface::class);

0 commit comments

Comments
 (0)