@@ -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( |
@@ -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 |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * {@inheritdoc} |
| 36 | 36 | */ |
| 37 | - public function __construct(string $roleName, string $roleDescription="") |
|
| 37 | + public function __construct(string $roleName, string $roleDescription = "") |
|
| 38 | 38 | { |
| 39 | 39 | $this->roleName = $roleName; |
| 40 | 40 | $this->roleDescription = $roleDescription; |