@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * @param UI\ComponentReflection|UI\MethodReflection|Nette\Reflection\ClassType|Nette\Reflection\Method|\Reflector $element |
|
77 | + * @param \Reflector $element |
|
78 | 78 | * |
79 | 79 | * @return bool |
80 | 80 | * |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @param UI\ComponentReflection|UI\MethodReflection|Nette\Reflection\ClassType|Nette\Reflection\Method|\Reflector $element |
|
113 | + * @param \Reflector $element |
|
114 | 114 | * |
115 | 115 | * @return bool |
116 | 116 | * |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |
153 | - * @param UI\ComponentReflection|UI\MethodReflection|Nette\Reflection\ClassType|Nette\Reflection\Method|\Reflector $element |
|
153 | + * @param \Reflector $element |
|
154 | 154 | * |
155 | 155 | * @return bool |
156 | 156 | * |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | } |
185 | 185 | |
186 | 186 | /** |
187 | - * @param UI\ComponentReflection|UI\MethodReflection|Nette\Reflection\ClassType|Nette\Reflection\Method|\Reflector $element |
|
187 | + * @param \Reflector $element |
|
188 | 188 | * |
189 | 189 | * @return bool |
190 | 190 | */ |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | } |
220 | 220 | |
221 | 221 | /** |
222 | - * @param UI\ComponentReflection|UI\MethodReflection|Nette\Reflection\ClassType|Nette\Reflection\Method|\Reflector $element |
|
222 | + * @param \Reflector $element |
|
223 | 223 | * |
224 | 224 | * @return bool |
225 | 225 | */ |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use Nette\Application\UI; |
21 | 21 | use Nette\Utils; |
22 | 22 | use Nette\Security as NS; |
23 | - |
|
24 | 23 | use IPub\Permissions\Entities; |
25 | 24 | use IPub\Permissions\Exceptions; |
26 | 25 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 13.10.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Access; |
18 | 18 |
@@ -17,7 +17,6 @@ |
||
17 | 17 | namespace IPub\Permissions\Entities; |
18 | 18 | |
19 | 19 | use Nette; |
20 | - |
|
21 | 20 | use IPub\Permissions\Exceptions; |
22 | 21 | |
23 | 22 | class Role implements IRole |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 12.03.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Entities; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 14.10.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Exceptions; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 10.10.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Providers; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 30.11.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Providers; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 10.10.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Security; |
18 | 18 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @date 13.10.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Access; |
18 | 18 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | return FALSE; |
88 | 88 | } |
89 | 89 | |
90 | - $actionKey = UI\Presenter::ACTION_KEY . ucfirst($action); |
|
90 | + $actionKey = UI\Presenter::ACTION_KEY.ucfirst($action); |
|
91 | 91 | |
92 | 92 | if ($presenterReflection->hasMethod($actionKey) && !$this->requirementsChecker->isAllowed($presenterReflection->getMethod($actionKey))) { |
93 | 93 | return FALSE; |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 14.10.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\Access; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 30.11.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\Permissions\DI; |
18 | 18 |