diff --git a/src/Identifier/IdentifierConverter.php b/src/Identifier/IdentifierConverter.php index 9faafd8ef54..c60651b1064 100644 --- a/src/Identifier/IdentifierConverter.php +++ b/src/Identifier/IdentifierConverter.php @@ -80,6 +80,7 @@ public function convert(string $data, string $class, array $context = []): array try { $identifiers[$key] = $identifierDenormalizer->denormalize($identifiers[$key], $type); + break; } catch (InvalidIdentifierException $e) { throw new InvalidIdentifierException(sprintf('Identifier "%s" could not be denormalized.', $key), $e->getCode(), $e); }