Skip to content

Commit

Permalink
Fixed last issue
Browse files Browse the repository at this point in the history
  • Loading branch information
savchuknikolay committed Oct 7, 2020
1 parent 453797b commit 0ab3f59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Worker/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,8 @@ public function memoryExceeded(int $memoryLimit)

/**
* Stop listening and bail out of the script.
*
* @param int $status
*/
public function stop(int $status = 0)
public function stop()
{
$this->dispatcher->dispatch(new WorkerStoppingEvent(), self::EVENT_STOP);

Expand Down

0 comments on commit 0ab3f59

Please sign in to comment.