Skip to content

Commit 9bff6ab

Browse files
garakweaverryan
authored andcommitted
Update acl.rst
minor fix for coding standards
1 parent fad15ec commit 9bff6ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cookbook/security/acl.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ Checking Access
166166
$securityContext = $this->get('security.context');
167167
168168
// check for edit access
169-
if (false === $securityContext->isGranted('EDIT', $comment))
170-
{
169+
if (false === $securityContext->isGranted('EDIT', $comment)) {
171170
throw new AccessDeniedException();
172171
}
173172

0 commit comments

Comments
 (0)