Skip to content

Commit 0a3c371

Browse files
committed
[Console] Fix fatal error when accessing Application::signalRegistry without pcntl
1 parent fc0e346 commit 0a3c371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class Application implements ResetInterface
8787
private string $defaultCommand;
8888
private bool $singleCommand = false;
8989
private bool $initialized = false;
90-
private SignalRegistry $signalRegistry;
90+
private ?SignalRegistry $signalRegistry = null;
9191
private array $signalsToDispatchEvent = [];
9292

9393
public function __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN')

0 commit comments

Comments
 (0)