@@ -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 | /** |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | */ |
| 199 | 199 | public function isValid(): bool |
| 200 | 200 | { |
| 201 | - if (! $this->isUploaded()) { |
|
| 201 | + if (!$this->isUploaded()) { |
|
| 202 | 202 | return false; |
| 203 | 203 | } |
| 204 | 204 | foreach ($this->files as $file) { |