@@ -1,4 +1,4 @@ |
||
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 |
@@ -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 |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | * @throws \Exception |
280 | 280 | * @return void |
281 | 281 | */ |
282 | - public function allow(string $role, string $permission, string $resource, boolean $status=true) |
|
282 | + public function allow(string $role, string $permission, string $resource, boolean $status = true) |
|
283 | 283 | { |
284 | 284 | if (!$this->roleRegistry->exists($role)) { |
285 | 285 | throw new \Exception( |