Passed
Branch master (a30a66)
by Alec
04:17
created
Category
src/BytesFormatter.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,9 @@
 block discarded – undo
46 46
             $unit = 'B';
47 47
         }
48 48
 
49
-        if ($unit == 'B')
50
-            $decimals = 0;
49
+        if ($unit == 'B') {
50
+                    $decimals = 0;
51
+        }
51 52
 
52 53
         // If decimals is not numeric or decimals is less than 0
53 54
         if (!is_numeric($decimals) || $decimals < 0) {
Please login to merge, or discard this patch.