diff --git a/Worker/Worker.php b/Worker/Worker.php index 49a87b7..b03c308 100644 --- a/Worker/Worker.php +++ b/Worker/Worker.php @@ -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);