Skip to content

Commit 6d8fc87

Browse files
committed
Because PHP 8.4 is adding deprecation warnings for non-nullable parameters with null default, change typehints
1 parent f8cd531 commit 6d8fc87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpClient/Test/TestHttpServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TestHttpServer
2121
/**
2222
* @param string|null $workingDirectory
2323
*/
24-
public static function start(int $port = 8057/* , string $workingDirectory = null */): Process
24+
public static function start(int $port = 8057/* , ?string $workingDirectory = null */): Process
2525
{
2626
$workingDirectory = \func_get_args()[1] ?? __DIR__.'/Fixtures/web';
2727

0 commit comments

Comments
 (0)