diff --git a/File/UploadedFile.php b/File/UploadedFile.php index 36fd1e65c..5d5063e46 100644 --- a/File/UploadedFile.php +++ b/File/UploadedFile.php @@ -31,7 +31,7 @@ */ class UploadedFile extends File { - private $test = false; + private $test; private $originalName; private $mimeType; private $error; @@ -83,7 +83,7 @@ public function __construct(string $path, string $originalName, string $mimeType * It is extracted from the request from which the file has been uploaded. * Then it should not be considered as a safe value. * - * @return string|null The original name + * @return string The original name */ public function getClientOriginalName() { @@ -112,7 +112,7 @@ public function getClientOriginalExtension() * For a trusted mime type, use getMimeType() instead (which guesses the mime * type based on the file content). * - * @return string|null The mime type + * @return string The mime type * * @see getMimeType() */