fix:修复BUG/升级1.1.6版本
This commit is contained in:
8
vendor/symfony/console/Application.php
vendored
8
vendor/symfony/console/Application.php
vendored
@@ -986,10 +986,6 @@ class Application implements ResetInterface
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($commandSignals as $signal) {
|
||||
$this->signalRegistry->register($signal, [$command, 'handleSignal']);
|
||||
}
|
||||
}
|
||||
|
||||
if (null !== $this->dispatcher) {
|
||||
@@ -1008,6 +1004,10 @@ class Application implements ResetInterface
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($commandSignals as $signal) {
|
||||
$this->signalRegistry->register($signal, [$command, 'handleSignal']);
|
||||
}
|
||||
}
|
||||
|
||||
if (null === $this->dispatcher) {
|
||||
|
||||
Reference in New Issue
Block a user