Skip to content

Commit 571ed5b

Browse files
committed
Merge branch '2.7' into 2.8
2 parents dc173b6 + 9755846 commit 571ed5b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cookbook/security/voters_data_permission.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ edit a particular object. Here's an example implementation:
111111
}
112112
113113
break;
114-
114+
}
115+
115116
return false;
116117
}
117118
}

cookbook/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ to your class and choose which groups to use when serializing::
169169
$serializer = $this->get('serializer');
170170
$json = $serializer->serialize(
171171
$someObject,
172-
'json', array('groups' => array('group1')
172+
'json', array('groups' => array('group1'))
173173
);
174174

175175
.. _cookbook-serializer-enabling-metadata-cache:

0 commit comments

Comments
 (0)