From 2a2eee58dace58e75142d9e2e26d2f5104d7f3f7 Mon Sep 17 00:00:00 2001 From: Shimon Newman Date: Wed, 12 Jul 2023 10:55:31 +0300 Subject: [PATCH 1/2] Update Server.php --- src/Queue/Server.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Queue/Server.php b/src/Queue/Server.php index 4230c22..47b501d 100644 --- a/src/Queue/Server.php +++ b/src/Queue/Server.php @@ -332,6 +332,15 @@ public function workerStart(): Hook return $hook; } + /** + * Returns Worker starts hook. + * @return Hook + */ + public function getWorkerStart(): Hook + { + return $this->workerStartHook; + } + /** * Is called when a Worker stops. * @param callable $callback From c6fc4a267ab643500442e0cffcdf952ed80161f4 Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 16 Oct 2023 19:02:43 +0300 Subject: [PATCH 2/2] run linter --- src/Queue/Server.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Queue/Server.php b/src/Queue/Server.php index 47b501d..f43d6a5 100644 --- a/src/Queue/Server.php +++ b/src/Queue/Server.php @@ -332,10 +332,10 @@ public function workerStart(): Hook return $hook; } - /** - * Returns Worker starts hook. - * @return Hook - */ + /** + * Returns Worker starts hook. + * @return Hook + */ public function getWorkerStart(): Hook { return $this->workerStartHook;