Skip to content

Commit

Permalink
Fix deprecation from SignalableCommandInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrech committed Mar 28, 2024
1 parent 98849f4 commit ab54464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Command/TaskCommand.php
Expand Up @@ -60,7 +60,7 @@ public function getSubscribedSignals(): array
return array_keys($this->taskAttribute->onSignals);
}

public function handleSignal(int $signal): int|false
public function handleSignal(int $signal, int|false $previousExitCode = 0): int|false
{
if (!\array_key_exists($signal, $this->taskAttribute->onSignals)) {
return false;
Expand Down

0 comments on commit ab54464

Please sign in to comment.