@@ -118,11 +118,11 @@ discard block |
||
118 | 118 | * @param string|null $sapi Only assign for unit testing purpose. |
119 | 119 | */ |
120 | 120 | public function __construct( |
121 | - $source , |
|
121 | + $source, |
|
122 | 122 | ?string $name = null, |
123 | 123 | ?string $type = null, |
124 | 124 | ?int $size = null, |
125 | - int $error = 0 , |
|
125 | + int $error = 0, |
|
126 | 126 | ?string $sapi = null |
127 | 127 | ) { |
128 | 128 | |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | } |
201 | 201 | |
202 | 202 | // Is a file.. |
203 | - if (is_string($this->file) && ! empty($this->file)) { |
|
203 | + if (is_string($this->file) && !empty($this->file)) { |
|
204 | 204 | |
205 | 205 | if ($this->sapi === 'cli') { |
206 | 206 | |
@@ -221,8 +221,8 @@ discard block |
||
221 | 221 | } else { |
222 | 222 | |
223 | 223 | if ( |
224 | - ! is_uploaded_file($this->file) || |
|
225 | - ! move_uploaded_file($this->file, $targetPath) |
|
224 | + !is_uploaded_file($this->file) || |
|
225 | + !move_uploaded_file($this->file, $targetPath) |
|
226 | 226 | ) { |
227 | 227 | // Throw exception on any error during the move operation. |
228 | 228 | throw new RuntimeException( |