diff --git a/src/Protocols/Http.php b/src/Protocols/Http.php index 53d27778c..ef7355964 100644 --- a/src/Protocols/Http.php +++ b/src/Protocols/Http.php @@ -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;