Test Failed
Push — master ( 7d2a30...66f1d7 )
by NexusLink
02:27
created
Category
src/PictureParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function fetchSize($images) {
36 36
         
37
-        if(empty($images))
37
+        if (empty($images))
38 38
         {
39 39
             return [];
40 40
         }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         
46 46
         $imageList = array();
47 47
         
48
-        foreach($images as $key => $image) {
48
+        foreach ($images as $key => $image) {
49 49
             $imageList[$key]['url'] = $image;
50 50
             $imageList[$key]['size'] = ImageUtility::getSize($image);
51 51
             
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             
56 56
             $imageList[$key]['valid'] = true;
57 57
             
58
-            if($imageList[$key]['size'] < $minSize || $imageList[$key]['size'] > $maxSize)
58
+            if ($imageList[$key]['size'] < $minSize || $imageList[$key]['size'] > $maxSize)
59 59
             {
60 60
                 $imageList[$key]['valid'] = false;
61 61
             }
Please login to merge, or discard this patch.