Ver Fonte

For php8.4

walkor há 11 meses atrás
pai
commit
b03c9ab71f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Protocols/Http/Request.php

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

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