8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da0230d commit b35693eCopy full SHA for b35693e
src/Symfony/Component/ObjectMapper/Tests/ObjectMapperTest.php
@@ -254,7 +254,7 @@ public function testTransformToWrongObject()
254
$this->expectException(MappingException::class);
255
$this->expectExceptionMessage(\sprintf('Expected the mapped object to be an instance of "%s" but got "stdClass".', ClassWithoutTarget::class));
256
257
- $u = new \stdClass;
+ $u = new \stdClass();
258
$u->foo = 'bar';
259
260
$metadata = $this->createStub(ObjectMapperMetadataFactoryInterface::class);
0 commit comments