Skip to content

Commit 9ed0d22

Browse files
committed
Fix PHP 8.4 deprecation
1 parent 79f9064 commit 9ed0d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractTerminableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class AbstractTerminableCommand extends Command
1818
/** @var bool */
1919
private $signalShutdownRequested;
2020

21-
public function __construct(string $name = null)
21+
public function __construct(?string $name = null)
2222
{
2323
$this->sleepDuration = 0;
2424
$this->signalShutdownRequested = false;

0 commit comments

Comments
 (0)