Skip to content

Commit

Permalink
minor #4355 Missing space (ErikSaunier)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Missing space

Commits
-------

7ae8285 Missing space
  • Loading branch information
wouterj committed Oct 21, 2014
2 parents d49d51f + 7ae8285 commit 65c891d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/voters_data_permission.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ edit a particular object. Here's an example implementation::
// check if the voter is used correct, only allow one attribute
// this isn't a requirement, it's just one easy way for you to
// design your voter
if(1 !== count($attributes)) {
if (1 !== count($attributes)) {
throw new \InvalidArgumentException(
'Only one attribute is allowed for VIEW or EDIT'
);
Expand Down

0 comments on commit 65c891d

Please sign in to comment.