Skip to content

Commit eaf8a3d

Browse files
committed
Fix merging error.
I was hasty to get out the new commit so I overlooked the duplicated line in code.
1 parent af9c5f4 commit eaf8a3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Bridge/RamseyUuid/Identifier/Normalizer/UuidNormalizer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ public function denormalize($data, $class, $format = null, array $context = [])
3636
try {
3737
return Uuid::fromString($data);
3838
} catch (InvalidUuidStringException $e) {
39-
throw new NotNormalizableValueException('Not found, because of an invalid identifier format', $e->getCode(), $e);
40-
throw new InvalidIdentifierException($e->getMessage(), 404, $e);
39+
throw new NotNormalizableValueException('Not found, because of an invalid identifier format', 404, $e);
4140
}
4241
}
4342

0 commit comments

Comments
 (0)