@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Component; |
16 | 16 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Model; |
16 | 16 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Model; |
16 | 16 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Model; |
16 | 16 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Model; |
16 | 16 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Model; |
16 | 16 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Model; |
16 | 16 |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\TI; |
16 | 16 | |
@@ -45,8 +45,7 @@ discard block |
||
45 | 45 | } |
46 | 46 | |
47 | 47 | $resource = $this instanceof \Nette\Application\IPresenter ? |
48 | - $this->getName() : |
|
49 | - static::getReflection()->getName(); |
|
48 | + $this->getName() : static::getReflection()->getName(); |
|
50 | 49 | |
51 | 50 | return $this->authorizator->isAllowed($user->getId(), $resource, $action); |
52 | 51 | } |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * <https://www.peldax.com>. |
11 | 11 | */ |
12 | 12 | |
13 | -declare(strict_types = 1); |
|
13 | +declare(strict_types=1); |
|
14 | 14 | |
15 | 15 | namespace Nepttune\Presenter; |
16 | 16 |