@@ -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 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | $data = $this->repository->findRow($rowId)->fetch()->toArray(); |
| 55 | 55 | |
| 56 | 56 | $access = []; |
| 57 | - foreach($this->userAccessModel->findBy('user_id', $rowId) as $row) |
|
| 57 | + foreach ($this->userAccessModel->findBy('user_id', $rowId) as $row) |
|
| 58 | 58 | { |
| 59 | 59 | $access[static::formatInput($row->resource, $row->privilege)] = true; |
| 60 | 60 | } |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | public function formSuccess(\Nette\Application\UI\Form $form, \stdClass $values) : void |
| 104 | 104 | { |
| 105 | - $access = \array_filter((array) $values->access, function ($value) {return $value === true;}); |
|
| 105 | + $access = \array_filter((array) $values->access, function($value) {return $value === true; }); |
|
| 106 | 106 | unset($values->password2, $values->access); |
| 107 | 107 | |
| 108 | 108 | if (!$values->password) |
@@ -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 | |