Skip to content

Commit b9975a3

Browse files
tcochOskarStark
andauthored
Update example codeblock
Co-authored-by: Oskar Stark <[email protected]>
1 parent e76745a commit b9975a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

security.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2532,7 +2532,8 @@ You can also extend the ``IsGranted`` attribute to create meaningful shortcuts:
25322532

25332533
class IsAdmin extends IsGranted
25342534
{
2535-
public function __construct() {
2535+
public function __construct()
2536+
{
25362537
return parent::__construct('ROLE_ADMIN');
25372538
}
25382539
}

0 commit comments

Comments
 (0)