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.
1 parent 76da97a commit 9c5a0baCopy full SHA for 9c5a0ba
cookbook/security/voters.rst
@@ -97,7 +97,7 @@ edit a particular object. Here's an example implementation:
97
throw new \LogicException('The user is somehow not our User class!');
98
}
99
100
- switch($attribute) {
+ switch ($attribute) {
101
case self::VIEW:
102
// the data object could have for example a method isPrivate()
103
// which checks the Boolean attribute $private
0 commit comments