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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy