@@ -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\Component; |
| 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 | |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $data = $this->repository->findRow($rowId)->fetch()->toArray(); |
| 53 | 53 | |
| 54 | 54 | $access = []; |
| 55 | - foreach($this->accessModel->findBy('user_id', $rowId) as $row) |
|
| 55 | + foreach ($this->accessModel->findBy('user_id', $rowId) as $row) |
|
| 56 | 56 | { |
| 57 | 57 | $access[static::formatInput($row->resource, $row->privilege)] = true; |
| 58 | 58 | } |
@@ -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 @@ |
||
| 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\Component; |
| 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\Component; |
| 16 | 16 | |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | public function formSuccess(\Nette\Application\UI\Form $form, \stdClass $values) : void |
| 47 | 47 | { |
| 48 | - $access = \array_filter((array) $values->access, function ($value) {return $value === true;}); |
|
| 48 | + $access = \array_filter((array) $values->access, function($value) {return $value === true; }); |
|
| 49 | 49 | unset($values->access); |
| 50 | 50 | |
| 51 | 51 | if ($this->rowId) |
@@ -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\Component; |
| 16 | 16 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | public function formSuccess(\Nette\Application\UI\Form $form, \stdClass $values) : void |
| 73 | 73 | { |
| 74 | - $access = \array_filter((array) $values->access, function ($value) {return $value === true;}); |
|
| 74 | + $access = \array_filter((array) $values->access, function($value) {return $value === true; }); |
|
| 75 | 75 | unset($values->password2, $values->access); |
| 76 | 76 | |
| 77 | 77 | if (!$values->password) |