Skip to content

Commit b1aba41

Browse files
minor symfony#25614 [Serializer] Correct typing mistake in DocBlock (expertcoder)
This PR was submitted for the 2.1 branch but it was merged into the 2.7 branch instead (closes symfony#25614). Discussion ---------- [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` Commits ------- 29486a4 [Serializer] Correct typing mistake in DocBlock
2 parents ff630e1 + 29486a4 commit b1aba41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/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)