8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dac0f8 commit abe5f21Copy full SHA for abe5f21
src/Symfony/Component/Serializer/Tests/SerializerTest.php
@@ -1232,19 +1232,19 @@ public function testNoCollectDenormalizationErrorsWithWrongEnum()
1232
public function testGroupsOnClassSerialization()
1233
{
1234
$obj = new Fixtures\Attributes\GroupClassDummy();
1235
- $obj->setFoo("foo");
1236
- $obj->setBar("bar");
+ $obj->setFoo('foo');
+ $obj->setBar('bar');
1237
1238
$obj2 = new Fixtures\Annotations\GroupClassDummy();
1239
- $obj2->setFoo("foo");
1240
- $obj2->setBar("bar");
+ $obj2->setFoo('foo');
+ $obj2->setBar('bar');
1241
1242
$serializer = new Serializer(
1243
[
1244
- new ObjectNormalizer()
+ new ObjectNormalizer(),
1245
],
1246
1247
- 'json' => new JsonEncoder()
+ 'json' => new JsonEncoder(),
1248
]
1249
);
1250
0 commit comments