Skip to content

Commit

Permalink
[Console] Fix fatal error when accessing Application::signalRegistry …
Browse files Browse the repository at this point in the history
…without pcntl
  • Loading branch information
lyrixx committed Feb 25, 2023
1 parent fc0e346 commit 0a3c371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Application implements ResetInterface
private string $defaultCommand;
private bool $singleCommand = false;
private bool $initialized = false;
private SignalRegistry $signalRegistry;
private ?SignalRegistry $signalRegistry = null;
private array $signalsToDispatchEvent = [];

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

0 comments on commit 0a3c371

Please sign in to comment.