Skip to content

Commit 2a216dc

Browse files
authored
fix identifiers do not denormalize the same identifier twice (#3762)
1 parent 044bebf commit 2a216dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Identifier/IdentifierConverter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function convert(string $data, string $class, array $context = []): array
8080

8181
try {
8282
$identifiers[$key] = $identifierDenormalizer->denormalize($identifiers[$key], $type);
83+
break;
8384
} catch (InvalidIdentifierException $e) {
8485
throw new InvalidIdentifierException(sprintf('Identifier "%s" could not be denormalized.', $key), $e->getCode(), $e);
8586
}

0 commit comments

Comments
 (0)