Passed
Pull Request — master (#1241)
by
unknown
07:36
created
src/Controllers/DeleteController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     public function getDelete()
21 21
     {
22 22
         $item_names = request('items');
23
-        $errors = [];
23
+        $errors = [ ];
24 24
 
25 25
         foreach ($item_names as $name_to_delete) {
26 26
             $file = $this->lfm->setName($name_to_delete);
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
                 continue;
45 45
             }
46 46
 
47
-            if (! $this->lfm->setName($name_to_delete)->exists()) {
48
-                array_push($errors, parent::error('folder-not-found', ['folder' => $file_path]));
47
+            if (!$this->lfm->setName($name_to_delete)->exists()) {
48
+                array_push($errors, parent::error('folder-not-found', [ 'folder' => $file_path ]));
49 49
                 continue;
50 50
             }
51 51
 
Please login to merge, or discard this patch.