File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
use Symfony \Component \Serializer \DataCollector \SerializerDataCollector ;
15
15
use Symfony \Component \Serializer \Encoder \DecoderInterface ;
16
16
use Symfony \Component \Serializer \Encoder \EncoderInterface ;
17
+ use Symfony \Component \Serializer \Encoder \NormalizationAwareInterface ;
17
18
use Symfony \Component \Serializer \SerializerAwareInterface ;
18
19
use Symfony \Component \Serializer \SerializerInterface ;
19
- use Symfony \Component \Serializer \Tests \Encoder \NormalizationAwareEncoder ;
20
20
21
21
/**
22
22
* Collects some data about encoding.
@@ -111,7 +111,7 @@ public function setSerializer(SerializerInterface $serializer)
111
111
112
112
public function needsNormalization (): bool
113
113
{
114
- return !$ this ->encoder instanceof NormalizationAwareEncoder ;
114
+ return !$ this ->encoder instanceof NormalizationAwareInterface ;
115
115
}
116
116
117
117
/**
You can’t perform that action at this time.
0 commit comments