Skip to content

Commit 7ae8285

Browse files
committed
Missing space
1 parent c8f96c0 commit 7ae8285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/voters_data_permission.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ edit a particular object. Here's an example implementation::
9696
// check if the voter is used correct, only allow one attribute
9797
// this isn't a requirement, it's just one easy way for you to
9898
// design your voter
99-
if(1 !== count($attributes)) {
99+
if (1 !== count($attributes)) {
100100
throw new \InvalidArgumentException(
101101
'Only one attribute is allowed for VIEW or EDIT'
102102
);

0 commit comments

Comments
 (0)