walkor 2 жил өмнө
parent
commit
e54846a34e

+ 1 - 1
src/Protocols/Http/Request.php

@@ -203,7 +203,7 @@ class Request implements Stringable
      * @param string|null $name
      * @return array|null
      */
-    public function file(string $name = null): array|null
+    public function file(string $name = null)
     {
         if (!isset($this->data['files'])) {
             $this->parsePost();