Skip to content

Commit ee4a81b

Browse files
expertcodernicolas-grekas
authored andcommitted
[Serializer] Correct typing mistake in DocBlock
| Q | A | ------------- | --- | Branch? | 2.1 to 4.0 | Bug fix? | yes (comment only) | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | na | Fixed tickets | na | License | MIT | Doc PR | DocBlock comment referred to `NormalizableInterface` but code was using `DenormalizableInterface`
1 parent 0ab2d26 commit ee4a81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/CustomNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function supportsNormalization($data, $format = null)
4949
}
5050

5151
/**
52-
* Checks if the given class implements the NormalizableInterface.
52+
* Checks if the given class implements the DenormalizableInterface.
5353
*
5454
* @param mixed $data Data to denormalize from
5555
* @param string $type The class to which the data should be denormalized

0 commit comments

Comments
 (0)