Skip to content

Commit 0b59654

Browse files
committed
order variable assingment to match parameter order
1 parent 5e86bd1 commit 0b59654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/Files/UploadedFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ class UploadedFile extends File implements UploadedFileInterface
9090
public function __construct(string $path, string $originalName, ?string $mimeType = null, ?int $size = null, ?int $error = null, ?string $clientPath = null)
9191
{
9292
$this->path = $path;
93-
$this->clientPath = $clientPath;
9493
$this->name = $originalName;
9594
$this->originalName = $originalName;
9695
$this->originalMimeType = $mimeType;
9796
$this->size = $size;
9897
$this->error = $error;
98+
$this->clientPath = $clientPath;
9999

100100
parent::__construct($path, false);
101101
}

0 commit comments

Comments
 (0)