We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d49d51f + 7ae8285 commit 65c891dCopy full SHA for 65c891d
cookbook/security/voters_data_permission.rst
@@ -96,7 +96,7 @@ edit a particular object. Here's an example implementation::
96
// check if the voter is used correct, only allow one attribute
97
// this isn't a requirement, it's just one easy way for you to
98
// design your voter
99
- if(1 !== count($attributes)) {
+ if (1 !== count($attributes)) {
100
throw new \InvalidArgumentException(
101
'Only one attribute is allowed for VIEW or EDIT'
102
);
0 commit comments