diff --git a/Normalizer/ArrayDenormalizer.php b/Normalizer/ArrayDenormalizer.php index 759dbcd88..65b1c2e82 100644 --- a/Normalizer/ArrayDenormalizer.php +++ b/Normalizer/ArrayDenormalizer.php @@ -35,6 +35,8 @@ class ArrayDenormalizer implements ContextAwareDenormalizerInterface, Serializer * {@inheritdoc} * * @throws NotNormalizableValueException + * + * @return array */ public function denormalize($data, $type, $format = null, array $context = []) { diff --git a/Normalizer/ConstraintViolationListNormalizer.php b/Normalizer/ConstraintViolationListNormalizer.php index 36373d9f5..81a5416ff 100644 --- a/Normalizer/ConstraintViolationListNormalizer.php +++ b/Normalizer/ConstraintViolationListNormalizer.php @@ -40,6 +40,8 @@ public function __construct($defaultContext = [], NameConverterInterface $nameCo /** * {@inheritdoc} + * + * @return array */ public function normalize($object, $format = null, array $context = []) { diff --git a/Normalizer/DataUriNormalizer.php b/Normalizer/DataUriNormalizer.php index 87bb96aad..4646d6ce0 100644 --- a/Normalizer/DataUriNormalizer.php +++ b/Normalizer/DataUriNormalizer.php @@ -61,6 +61,8 @@ public function __construct($mimeTypeGuesser = null) /** * {@inheritdoc} + * + * @return string */ public function normalize($object, $format = null, array $context = []) { @@ -102,6 +104,8 @@ public function supportsNormalization($data, $format = null) * * @throws InvalidArgumentException * @throws NotNormalizableValueException + * + * @return \SplFileInfo */ public function denormalize($data, $type, $format = null, array $context = []) { diff --git a/Normalizer/DateIntervalNormalizer.php b/Normalizer/DateIntervalNormalizer.php index c4b7c55ab..31cadaa88 100644 --- a/Normalizer/DateIntervalNormalizer.php +++ b/Normalizer/DateIntervalNormalizer.php @@ -46,6 +46,8 @@ public function __construct($defaultContext = []) * {@inheritdoc} * * @throws InvalidArgumentException + * + * @return string */ public function normalize($object, $format = null, array $context = []) { @@ -77,6 +79,8 @@ public function hasCacheableSupportsMethod(): bool * * @throws InvalidArgumentException * @throws UnexpectedValueException + * + * @return \DateInterval */ public function denormalize($data, $type, $format = null, array $context = []) { diff --git a/Normalizer/DateTimeNormalizer.php b/Normalizer/DateTimeNormalizer.php index 34e1083bc..996700cf1 100644 --- a/Normalizer/DateTimeNormalizer.php +++ b/Normalizer/DateTimeNormalizer.php @@ -57,6 +57,8 @@ public function __construct($defaultContext = [], \DateTimeZone $timezone = null * {@inheritdoc} * * @throws InvalidArgumentException + * + * @return string */ public function normalize($object, $format = null, array $context = []) { @@ -87,6 +89,8 @@ public function supportsNormalization($data, $format = null) * {@inheritdoc} * * @throws NotNormalizableValueException + * + * @return \DateTimeInterface */ public function denormalize($data, $type, $format = null, array $context = []) { diff --git a/Normalizer/DateTimeZoneNormalizer.php b/Normalizer/DateTimeZoneNormalizer.php index 519381b22..108039324 100644 --- a/Normalizer/DateTimeZoneNormalizer.php +++ b/Normalizer/DateTimeZoneNormalizer.php @@ -25,6 +25,8 @@ class DateTimeZoneNormalizer implements NormalizerInterface, DenormalizerInterfa * {@inheritdoc} * * @throws InvalidArgumentException + * + * @return string */ public function normalize($object, $format = null, array $context = []) { @@ -47,6 +49,8 @@ public function supportsNormalization($data, $format = null) * {@inheritdoc} * * @throws NotNormalizableValueException + * + * @return \DateTimeZone */ public function denormalize($data, $type, $format = null, array $context = []) { diff --git a/Normalizer/ProblemNormalizer.php b/Normalizer/ProblemNormalizer.php index 17f4500f2..ca7b78b5c 100644 --- a/Normalizer/ProblemNormalizer.php +++ b/Normalizer/ProblemNormalizer.php @@ -37,6 +37,8 @@ public function __construct(bool $debug = false, array $defaultContext = []) /** * {@inheritdoc} + * + * @return array */ public function normalize($exception, $format = null, array $context = []) {