Browse Source

For php8.4

walkor 11 tháng trước cách đây
mục cha
commit
b03c9ab71f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'])) {