diff --git a/src/Commands/core/RunserverCommands.php b/src/Commands/core/RunserverCommands.php index 362cbebbb1..693f26b5c2 100644 --- a/src/Commands/core/RunserverCommands.php +++ b/src/Commands/core/RunserverCommands.php @@ -119,12 +119,12 @@ public function uri($uri, $options): array /** * Parse a URI or partial URI (including just a port, host IP or path). * - * @param string $uri + * @param $uri * String that can contain partial URI. * * URI array as returned by parse_url. */ - public function parseUri(string $uri): array + public function parseUri(?string $uri): array { if (empty($uri)) { return [];