Skip to content

Commit 106d511

Browse files
Update src/Symfony/Component/Serializer/Mapping/Loader/AttributeLoader.php
Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com>
1 parent 1710199 commit 106d511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Mapping/Loader/AttributeLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public function loadClassMetadata(ClassMetadataInterface $classMetadata): bool
6565
foreach ($this->loadAttributes($reflectionClass) as $annotation) {
6666
match (true) {
6767
$annotation instanceof DiscriminatorMap => $classMetadata->setClassDiscriminatorMapping(new ClassDiscriminatorMapping($annotation->getTypeProperty(), $annotation->getMapping())),
68-
$annotation instanceof Groups => $classGroups = $annotation->getGroups(),
69-
$annotation instanceof Context => $classContextAnnotation = $annotation,
68+
$annotation instanceof Groups => $classGroups = $annotation->getGroups(),
69+
$annotation instanceof Context => $classContextAnnotation = $annotation,
7070
default => null,
7171
};
7272
}

0 commit comments

Comments
 (0)