@@ -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 | /** |
@@ -125,7 +125,7 @@ |
||
125 | 125 | $this->storage = $storage; |
126 | 126 | $this->validator = $validator ? $validator : new Validator(); |
127 | 127 | |
128 | - if(empty($uploadedFiles)){ |
|
128 | + if (empty($uploadedFiles)) { |
|
129 | 129 | $uploadedFiles = UploadedFile::createFromGlobals(); |
130 | 130 | } |
131 | 131 |