Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1253700

Browse files
committed
bug #18589 [Serializer] fix parent class of AbstractNormalizer (xabbuh)
This PR was merged into the 3.1-dev branch. Discussion ---------- [Serializer] fix parent class of AbstractNormalizer | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #17545 (comment) | License | MIT | Doc PR | We must maintain the parent class to not break BC. Commits ------- 45b9ed9 fix parent class of AbstractNormalizer
2 parents 114fca3 + 45b9ed9 commit 1253700

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@
2525
*
2626
* @author Kévin Dunglas <[email protected]>
2727
*/
28-
abstract class AbstractNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface
28+
abstract class AbstractNormalizer extends SerializerAwareNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface
2929
{
30-
use SerializerAwareTrait;
31-
3230
const CIRCULAR_REFERENCE_LIMIT = 'circular_reference_limit';
3331
const OBJECT_TO_POPULATE = 'object_to_populate';
3432
const GROUPS = 'groups';

0 commit comments

Comments
 (0)