Skip to content

Commit

Permalink
Merge pull request #27 from lothid/worker_compatibility_laravel_v9.42
Browse files Browse the repository at this point in the history
Fix worker compatibility with Laravel v9.42
  • Loading branch information
makasim authored Jan 7, 2023
2 parents d8e30fb + 5c6eb1e commit 8360f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ public function onResult(MessageResult $context): void
}
}

public function stop($status = 0)
public function stop($status = 0, $options = null)
{
if ($this->interop) {
$this->stopped = true;

return;
}

parent::stop($status);
parent::stop($status, $options);
}

public function setExtensions(array $extensions): self
Expand Down

0 comments on commit 8360f59

Please sign in to comment.