Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1498f91

Browse filesBrowse files
committed
bug #49528 [Console] Fix fatal error when accessing Application::signalRegistry without pcntl (lyrixx)
This PR was merged into the 6.2 branch. Discussion ---------- [Console] Fix fatal error when accessing Application::signalRegistry without pcntl | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 97a4269 [Console] Fix fatal error when accessing Application::signalRegistry without pcntl
2 parents 2db7d6f + 97a4269 commit 1498f91
Copy full SHA for 1498f91

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Console/Application.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Application.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.