@@ -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 |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * @throws \Exception |
66 | 66 | * @return void |
67 | 67 | */ |
68 | - public function allow(string $role, string $permission, string $resource, bool $status=true); |
|
68 | + public function allow(string $role, string $permission, string $resource, bool $status = true); |
|
69 | 69 | |
70 | 70 | /** |
71 | 71 | * Change the status option of an assigned permission to false |
@@ -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 @@ |
||
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 @@ |
||
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 @@ |
||
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 @@ |
||
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 @@ |
||
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 @@ |
||
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 |
@@ -19,10 +19,10 @@ |
||
19 | 19 | */ |
20 | 20 | interface RoleInterface |
21 | 21 | { |
22 | - /** |
|
23 | - * Returns the descriptionof a role object |
|
24 | - * |
|
25 | - * @return string |
|
26 | - */ |
|
27 | - public function getDescription() : string; |
|
22 | + /** |
|
23 | + * Returns the descriptionof a role object |
|
24 | + * |
|
25 | + * @return string |
|
26 | + */ |
|
27 | + public function getDescription() : string; |
|
28 | 28 | } |
@@ -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 |