Skip to content

Commit 65c891d

Browse files
committed
minor #4355 Missing space (ErikSaunier)
This PR was merged into the 2.3 branch. Discussion ---------- Missing space Commits ------- 7ae8285 Missing space
2 parents d49d51f + 7ae8285 commit 65c891d

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)