Test Failed
Pull Request — master (#1034)
by
unknown
04:05
created
src/LfmPath.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,10 +106,11 @@
 block discarded – undo
106 106
         $files = array_map(function ($file_path) {
107 107
             $file = $this->pretty($file_path);
108 108
             $file_mime = mime_content_type($this->storage->rootPath() . $file_path);
109
-            if ($this->helper->availableMimeTypes() == "*" || (is_array($this->helper->availableMimeTypes()) && in_array($file_mime, $this->helper->availableMimeTypes())))
110
-                return $file;
111
-            else
112
-                return null;
109
+            if ($this->helper->availableMimeTypes() == "*" || (is_array($this->helper->availableMimeTypes()) && in_array($file_mime, $this->helper->availableMimeTypes()))) {
110
+                            return $file;
111
+            } else {
112
+                            return null;
113
+            }
113 114
             return $file;
114 115
         }, $this->storage->files());
115 116
 
Please login to merge, or discard this patch.