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
@@ -121,10 +122,14 @@ class ChainNormalizationAwareEncoder extends ChainEncoder implements Normalizati
121122{
122123}
123124
124- class NormalizationAwareEncoder implements NormalizationAwareInterface
125+ class NormalizationAwareEncoder implements EncoderInterface, NormalizationAwareInterface
125126{
126127 public function supportsEncoding ($ format )
127128 {
128129 return true ;
129130 }
131+
132+ public function encode ($ data , $ format , array $ context = array ())
133+ {
134+ }
130135}
You can’t perform that action at this time.
0 commit comments