minor #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 #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
This commit is contained in:
commit
b1aba41764
|
@ -49,7 +49,7 @@ class CustomNormalizer extends SerializerAwareNormalizer implements NormalizerIn
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the given class implements the NormalizableInterface.
|
* Checks if the given class implements the DenormalizableInterface.
|
||||||
*
|
*
|
||||||
* @param mixed $data Data to denormalize from
|
* @param mixed $data Data to denormalize from
|
||||||
* @param string $type The class to which the data should be denormalized
|
* @param string $type The class to which the data should be denormalized
|
||||||
|
|
Reference in New Issue