Skip to content

Commit 1f43ca3

Browse files
committed
Improve exception message when no denormalizer supported
1 parent 29a9c87 commit 1f43ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Normalizer/AggregateNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
4040
return $denormalizer->denormalize($data, $class, $format, $context);
4141
}
4242

43-
throw new UnexpectedValueException('No supported normalizer found for "' . $class . '".');
43+
throw new UnexpectedValueException('No supported denormalizer found for "' . $class . '".');
4444
}
4545

4646
public function supportsNormalization($data, $format = null)

0 commit comments

Comments
 (0)