File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2132,8 +2132,6 @@ class BaseSignableCommand extends Command
21322132 private $ emitsSignal ;
21332133 private $ signal ;
21342134
2135- protected static $ defaultName = 'signal ' ;
2136-
21372135 public function __construct (bool $ emitsSignal = true , int $ signal = \SIGUSR1 )
21382136 {
21392137 parent ::__construct ();
@@ -2173,10 +2171,9 @@ public function handleSignal(int $signal): void
21732171 }
21742172}
21752173
2174+ #[AsCommand(name: 'signal ' )]
21762175class TerminatableCommand extends BaseSignableCommand implements SignalableCommandInterface
21772176{
2178- protected static $ defaultName = 'signal ' ;
2179-
21802177 public function getSubscribedSignals (): array
21812178 {
21822179 return SignalRegistry::isSupported () ? [\SIGINT ] : [];
You can’t perform that action at this time.
0 commit comments