Test Setup Failed
Branch master (f5204a)
by Václav
01:29
created
src/Component/BaseListComponent.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function render() : void
39 39
     {
40 40
         $this->beforeRender();
41
-        $this->template->setFile(__DIR__. '/BaseListComponent.latte');
41
+        $this->template->setFile(__DIR__.'/BaseListComponent.latte');
42 42
         $this->template->render();
43 43
     }
44 44
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,8 +164,7 @@
 block discarded – undo
164 164
         if (static::ACTIVE)
165 165
         {
166 166
             $this->repository->findRow($id)->update(['active' => -1]);
167
-        }
168
-        else
167
+        } else
169 168
         {
170 169
             $this->repository->findRow($id)->delete();
171 170
         }
Please login to merge, or discard this patch.