@@ -19,10 +19,10 @@ |
||
19 | 19 | */ |
20 | 20 | interface RoleInterface |
21 | 21 | { |
22 | - /** |
|
23 | - * Returns the description of a role object |
|
24 | - * |
|
25 | - * @return string |
|
26 | - */ |
|
27 | - public function getDescription() : string; |
|
22 | + /** |
|
23 | + * Returns the description of 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 |
@@ -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 |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * {@inheritdoc} |
30 | 30 | */ |
31 | - public function __construct(string $roleName, string $roleDescription="") |
|
31 | + public function __construct(string $roleName, string $roleDescription = "") |
|
32 | 32 | { |
33 | 33 | $this->roleName = $roleName; |
34 | 34 | $this->roleDescription = $roleDescription; |
@@ -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 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @throws Exception |
53 | 53 | */ |
54 | - public function allow(string $role, string $permission, string $resource, ?bool $status=null): void; |
|
54 | + public function allow(string $role, string $permission, string $resource, ?bool $status = null): void; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * 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 |