File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Component \Serializer \Encoder \ChainEncoder ;
16
+ use Symfony \Component \Serializer \Encoder \EncoderInterface ;
16
17
use Symfony \Component \Serializer \Encoder \NormalizationAwareInterface ;
17
18
18
19
class ChainEncoderTest extends TestCase
@@ -121,10 +122,14 @@ class ChainNormalizationAwareEncoder extends ChainEncoder implements Normalizati
121
122
{
122
123
}
123
124
124
- class NormalizationAwareEncoder implements NormalizationAwareInterface
125
+ class NormalizationAwareEncoder implements EncoderInterface, NormalizationAwareInterface
125
126
{
126
127
public function supportsEncoding ($ format )
127
128
{
128
129
return true ;
129
130
}
131
+
132
+ public function encode ($ data , $ format , array $ context = array ())
133
+ {
134
+ }
130
135
}
You can’t perform that action at this time.
0 commit comments