Test Setup Failed
Push — master ( 8a6941...0b771a )
by Václav
05:25
created
src/Component/UserForm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Model/RoleModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Model/RoleAccessModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Component/RoleList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/TI/TAccessForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/TI/IAccessForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Component/IRoleFormFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.