Skip to content

Commit d0bb382

Browse files
committed
minor symfony#57492 [Serializer] add missing method (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] add missing method | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 17c0709 add missing method
2 parents 836a93b + 17c0709 commit d0bb382

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
@@ -1517,6 +1517,11 @@ public function __construct()
15171517
parent::__construct(new ClassMetadataFactory(new AttributeLoader()), null, new PropertyInfoExtractor([], [new PhpDocExtractor(), new ReflectionExtractor()]));
15181518
}
15191519

1520+
public function getSupportedTypes(?string $format): array
1521+
{
1522+
return ['*' => false];
1523+
}
1524+
15201525
protected function extractAttributes(object $object, ?string $format = null, array $context = []): array
15211526
{
15221527
return [];

0 commit comments

Comments
 (0)