Test Setup Failed
Push — master ( f39159...2a6084 )
by Václav
01:34 queued 16s
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.