Skip to content

Commit

Permalink
Merge pull request #1047 from joanhey/patch-2
Browse files Browse the repository at this point in the history
Fix nullable for PHP 8.4
  • Loading branch information
walkor authored Aug 4, 2024
2 parents e8c246d + 11d5ce4 commit dae4bc7
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 dae4bc7

Please sign in to comment.