Skip to content

Commit 0249fa8

Browse files
maxheliasdunglas
authored andcommitted
fix: Use NormalizerInterface
1 parent 665d32f commit 0249fa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/serialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,11 +911,11 @@ Here is an example:
911911
namespace App\Serializer;
912912
913913
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
914-
use Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface;
915914
use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface;
916915
use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait;
916+
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
917917
918-
class BookAttributeNormalizer implements ContextAwareNormalizerInterface, NormalizerAwareInterface
918+
class BookAttributeNormalizer implements NormalizerInterface, NormalizerAwareInterface
919919
{
920920
use NormalizerAwareTrait;
921921

0 commit comments

Comments
 (0)