Skip to content

Commit 2bb69b8

Browse files
alafonadriendupuis
authored andcommitted
Typo in permission_overview.md (#2491)
(cherry picked from commit d08df8f)
1 parent 44a680c commit 2bb69b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/permissions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
156156
157157
public function performAccessCheck(): void
158158
{
159-
parent:performAccessCheck();
159+
parent::performAccessCheck();
160160
$this->denyAccessUnlessGranted(new Attribute('section', 'view'));
161161
}
162162
```
@@ -194,4 +194,4 @@ To block access to a specific action of the controller, add the following to the
194194

195195
``` php
196196
$this->denyAccessUnlessGranted(new Attribute('state', 'administrate'));
197-
```
197+
```

0 commit comments

Comments
 (0)