Skip to content

Commit

Permalink
Fix nullable for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey authored Aug 3, 2024
1 parent 14e66a8 commit 11d5ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Protocols/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Http
* @param class-string|null $className
* @return string
*/
public static function requestClass(string $className = null): string
public static function requestClass(?string $className = null): string
{
if ($className !== null) {
static::$requestClass = $className;
Expand Down

0 comments on commit 11d5ce4

Please sign in to comment.