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
@@ -123,10 +124,14 @@ class ChainNormalizationAwareEncoder extends ChainEncoder implements Normalizati
123
124
{
124
125
}
125
126
126
- class NormalizationAwareEncoder implements NormalizationAwareInterface
127
+ class NormalizationAwareEncoder implements EncoderInterface, NormalizationAwareInterface
127
128
{
128
129
public function supportsEncoding ($ format )
129
130
{
130
131
return true ;
131
132
}
133
+
134
+ public function encode ($ data , $ format , array $ context = array ())
135
+ {
136
+ }
132
137
}
You can’t perform that action at this time.
0 commit comments