8000 Fixed an array notation in comment (serializer.rst) · symfony/symfony-docs@78ddfef · GitHub
[go: up one dir, main page]

Skip to content

Commit 78ddfef

Browse files
author
Iltar van der Berg
committed
Fixed an array notation in comment (serializer.rst)
1 parent 88f0238 commit 78ddfef

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