@@ -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 @@ |
||
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) |
@@ -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 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | $data = $this->repository->findRow($rowId)->fetch()->toArray(); |
57 | 57 | |
58 | 58 | $access = []; |
59 | - foreach($this->accessModel->findBy($this->primaryRow, $rowId) as $row) |
|
59 | + foreach ($this->accessModel->findBy($this->primaryRow, $rowId) as $row) |
|
60 | 60 | { |
61 | 61 | $access[static::formatInput($row->resource, $row->privilege)] = true; |
62 | 62 | } |