@@ -34,7 +34,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |