Permalink
Browse files

minor #4355 Missing space (ErikSaunier)

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 65c891dd2403facb6d8df06520d458155e58e3a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbook/security/voters_data_permission.rst
@@ -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'
);

0 comments on commit 65c891d

Please sign in to comment.