Skip to content

Commit

Permalink
Improve exception message when no denormalizer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
claudusd committed Oct 2, 2018
1 parent 9ed9b6b commit 0d920b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Normalizer/AggregateNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
return $denormalizer->denormalize($data, $class, $format, $context);
}

throw new UnexpectedValueException('No supported normalizer found for "' . $class . '".');
throw new UnexpectedValueException('No supported denormalizer found for "' . $class . '".');
}

public function supportsNormalization($data, $format = null)
Expand Down

0 comments on commit 0d920b0

Please sign in to comment.