Skip to content

Commit cafb5a4

Browse files
committed
For php8.4
1 parent 77c7e6e commit cafb5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Protocols/Http/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function cookie($name = null, $default = null)
169169
* @param string|null $name
170170
* @return array|null
171171
*/
172-
public function file($name = null)
172+
public function file(?string $name = null): mixed
173173
{
174174
if (!isset($this->_data['files'])) {
175175
$this->parsePost();

0 commit comments

Comments
 (0)