Passed
Branch main (01a6e7)
by Miaad
01:27
created
tools.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -214,14 +214,14 @@
 block discarded – undo
214 214
             curl_exec($ch);
215 215
             $size = curl_getinfo($ch, CURLINFO_CONTENT_LENGTH_DOWNLOAD);
216 216
             curl_close($ch);
217
-        }
218
-        else {
217
+        } else {
219 218
             $size = file_exists($path) ? filesize($path) : false;
220 219
         }
221 220
 
222 221
         if (isset($size) && is_numeric($size)) {
223 222
             return $format ? tools::rateConverter($size) : $size;
224
-        }
225
-        else return false;
223
+        } else {
224
+            return false;
225
+        }
226 226
     }
227 227
 }
228 228
\ No newline at end of file
Please login to merge, or discard this patch.