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 1313
1414use PHPUnit \Framework \TestCase ;
1515use Symfony \Component \Serializer \Encoder \ChainEncoder ;
16+ use Symfony \Component \Serializer \Encoder \EncoderInterface ;
1617use Symfony \Component \Serializer \Encoder \NormalizationAwareInterface ;
1718
1819class ChainEncoderTest extends TestCase
@@ -123,10 +124,14 @@ class ChainNormalizationAwareEncoder extends ChainEncoder implements Normalizati
123124{
124125}
125126
126- class NormalizationAwareEncoder implements NormalizationAwareInterface
127+ class NormalizationAwareEncoder implements EncoderInterface, NormalizationAwareInterface
127128{
128129 public function supportsEncoding ($ format )
129130 {
130131 return true ;
131132 }
133+
134+ public function encode ($ data , $ format , array $ context = array ())
135+ {
136+ }
132137}
You can’t perform that action at this time.
0 commit comments