Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fd7b6b1

Browse filesBrowse files
committed
minor #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 | #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
Copy full SHA for fd7b6b1

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.