We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 907b683 commit b9b5a62Copy full SHA for b9b5a62
src/Symfony/Contracts/HttpClient/Test/TestHttpServer.php
@@ -18,12 +18,9 @@ class TestHttpServer
18
{
19
private static array $process = [];
20
21
- /**
22
- * @param string|null $workingDirectory
23
- */
24
- public static function start(int $port = 8057/* , string $workingDirectory = null */): Process
+ public static function start(int $port = 8057, string $workingDirectory = null): Process
25
26
- $workingDirectory = \func_get_args()[1] ?? __DIR__.'/Fixtures/web';
+ $workingDirectory ??= __DIR__.'/Fixtures/web';
27
28
if (isset(self::$process[$port])) {
29
self::$process[$port]->stop();
0 commit comments