File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,11 @@ public function rawBody(): string
104104 return $ this ->request ->rawBody ();
105105 }
106106
107+ /**
108+ * @return string|array|null|UploadFile
109+ */
107110 /** @phpstan-ignore-next-line */
108- public function postForm (string $ key ): null |string |array |UploadFile
111+ public function postForm (string $ key ): null |string |array |object
109112 {
110113 return $ this ->allPostForm ()[$ key ] ?? null ;
111114 }
@@ -186,8 +189,11 @@ public function rawBody(): string
186189 return $ this ->request ->getContent ();
187190 }
188191
192+ /**
193+ * @return string|array|null|UploadedFile
194+ */
189195 /** @phpstan-ignore-next-line */
190- public function postForm (string $ key ): null |string |array |UploadedFile
196+ public function postForm (string $ key ): null |string |array |object
191197 {
192198 return $ this ->allPostForm ()[$ key ] ?? null ;
193199 }
You can’t perform that action at this time.
0 commit comments