Skip to content

Commit 41afede

Browse files
committed
fix merge
1 parent 144351d commit 41afede

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,11 @@ protected function setAttributeValue(object $object, string $attribute, $value,
10541054
{
10551055
$object->$attribute = $value;
10561056
}
1057+
1058+
public function getSupportedTypes(?string $format): array
1059+
{
1060+
return ['*' => false];
1061+
}
10571062
};
10581063

10591064
$this->assertSame('scalar', $normalizer->denormalize('scalar', XmlScalarDummy::class, 'xml')->value);

0 commit comments

Comments
 (0)