Passed
Push — develop ( d0a329...633762 )
by nguereza
09:02
created
src/Upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         ?Validator $validator = null
116 116
     ) {
117 117
         // Check if file uploads are allowed
118
-        if ((bool)ini_get('file_uploads') === false) {
118
+        if ((bool) ini_get('file_uploads') === false) {
119 119
             throw new RuntimeException('File uploads are disabled in your PHP.ini file');
120 120
         }
121 121
 
Please login to merge, or discard this patch.
src/Util/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         if (array_key_exists('unit', $matches)) {
127 127
             $unit = strtoupper($matches['unit']);
128 128
         }
129
-        return (int)(floatval($matches['size']) * pow(1024, $units[$unit]));
129
+        return (int) (floatval($matches['size']) * pow(1024, $units[$unit]));
130 130
     }
131 131
 
132 132
     /**
Please login to merge, or discard this patch.