Test Setup Failed
Push — master ( 598637...a3140b )
by Václav
01:07
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
         $roles = [];
57
-        foreach($this->userAccessModel->findBy('user_id', $rowId) as $row)
57
+        foreach ($this->userAccessModel->findBy('user_id', $rowId) as $row)
58 58
         {
59 59
             $roles[static::formatInput($row->resource)] = true;
60 60
         }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             $values->id = $this->id;
91 91
         }
92 92
 
93
-        $roles = \array_filter($values->roles, function ($value) {return $value === true;});
93
+        $roles = \array_filter($values->roles, function($value) {return $value === true; });
94 94
 
95 95
         unset($values->password2, $values->roles);
96 96
         $values->registered = new \Nette\Utils\DateTime();
Please login to merge, or discard this patch.