8000 minor #6457 Fixed an array notation in comment (serializer.rst) (iltar) · a-ast/symfony-docs@fd7b6b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit fd7b6b1

Browse files
committed
minor symfony#6457 Fixed an array notation in comment (serializer.rst) (iltar)
This PR was merged into the 2.7 branch. Discussion ---------- Fixed an array notation in comment (serializer.rst) | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | symfony#6422 (comment) Fixed against the right branch, reverted from other pr. The other pr is against 2.3, this was not in 2.3 yet. Commits ------- 78ddfef Fixed an array notation in comment (serializer.rst)
2 parents f69cdb8 + 78ddfef commit fd7b6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ You are now able to serialize only attributes in the groups you want::
300300
$serializer = new Serializer(array($normalizer));
301301

302302
$data = $serializer->normalize($obj, null, array('groups' => array('group1')));
303-
// $data = ['foo' => 'foo'];
303+
// $data = array('foo' => 'foo');
304304

305305
$obj2 = $serializer->denormalize(
306306
array('foo' => 'foo', 'bar' => 'bar'),

0 commit comments

Comments
 (0)
0