Skip to content

Commit

Permalink
For php8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Nov 24, 2024
1 parent 77c7e6e commit cafb5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Protocols/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function cookie($name = null, $default = null)
* @param string|null $name
* @return array|null
*/
public function file($name = null)
public function file(?string $name = null): mixed
{
if (!isset($this->_data['files'])) {
$this->parsePost();
Expand Down

0 comments on commit cafb5a4

Please sign in to comment.