File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Serializer/Tests/Normalizer
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ public function testObjectWithVariadicConstructorTypedArguments(AbstractNormaliz
204
204
/**
205
205
* @dataProvider getNormalizer
206
206
*/
207
- public function testVariadicSerializationWithPreservingKeys (AbstractNormalizer $ normalizer ): void
207
+ public function testVariadicSerializationWithPreservingKeys (AbstractNormalizer $ normalizer )
208
208
{
209
209
$ d1 = new Dummy ();
210
210
$ d1 ->foo = 'Foo ' ;
@@ -216,7 +216,7 @@ public function testVariadicSerializationWithPreservingKeys(AbstractNormalizer $
216
216
$ d2 ->bar = 'BAR ' ;
217
217
$ d2 ->baz = 'BAZ ' ;
218
218
$ d2 ->qux = 'QUZ ' ;
219
- $ arr = [" d1 " => $ d1 , " d2 " => $ d2 ];
219
+ $ arr = [' d1 ' => $ d1 , ' d2 ' => $ d2 ];
220
220
$ obj = new VariadicConstructorTypedArgsDummy (...$ arr );
221
221
222
222
$ serializer = new Serializer ([$ normalizer ], [new JsonEncoder ()]);
You can’t perform that action at this time.
0 commit comments