@@ -77,8 +77,7 @@ |
||
| 77 | 77 | { |
| 78 | 78 | $this->user->login($values->username, $values->password); |
| 79 | 79 | $this->user->setExpiration(0, TRUE); |
| 80 | - } |
|
| 81 | - catch (\Nette\Security\AuthenticationException $e) |
|
| 80 | + } catch (\Nette\Security\AuthenticationException $e) |
|
| 82 | 81 | { |
| 83 | 82 | $failure = $e->getMessage(); |
| 84 | 83 | } |
@@ -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\TI; |
| 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 | |
@@ -38,8 +38,7 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $resource = $this instanceof \Nette\Application\IPresenter ? |
| 41 | - $this->getName() : |
|
| 42 | - static::getReflection()->getName(); |
|
| 41 | + $this->getName() : static::getReflection()->getName(); |
|
| 43 | 42 | |
| 44 | 43 | return $this->authorizator->isAllowed($userId, $resource, $action); |
| 45 | 44 | } |
@@ -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; |
| 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 | |