@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * This file is part of the Samshal\Acl library |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | * @throws \Exception |
| 318 | 318 | * @return void |
| 319 | 319 | */ |
| 320 | - public function allow(string $role, string $permission, string $resource, bool $status=null) |
|
| 320 | + public function allow(string $role, string $permission, string $resource, bool $status = null) |
|
| 321 | 321 | { |
| 322 | 322 | $status = $status ?? true; |
| 323 | 323 | if (!$this->roleRegistry->exists($role)) { |