8000 CheckStyle in Voters cookbook · symfony/symfony-docs@9c5a0ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c5a0ba

Browse files
JakeFrwouterj
authored andcommitted
CheckStyle in Voters cookbook
1 parent 76da97a commit 9c5a0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ edit a particular object. Here's an example implementation:
9797
throw new \LogicException('The user is somehow not our User class!');
9898
}
9999
100-
switch($attribute) {
100+
switch ($attribute) {
101101
case self::VIEW:
102102
// the data object could have for example a method isPrivate()
103103
// which checks the Boolean attribute $private

0 commit comments

Comments
 (0)
0