@@ -115,7 +115,7 @@ |
||
| 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 | |
@@ -126,7 +126,7 @@ |
||
| 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 | /** |