From 3519df68ba779873b15e6b42482d096ec4d8b45b Mon Sep 17 00:00:00 2001 From: michalsn Date: Fri, 4 Jul 2025 15:39:49 +0200 Subject: [PATCH 1/2] fix: return value for the queue --- src/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.php b/src/Task.php index e121fb1..d548a8b 100644 --- a/src/Task.php +++ b/src/Task.php @@ -315,7 +315,7 @@ protected function runQueue() ]); } - return service('queue')->push(...$queueAction); + return service('queue')->push(...$queueAction)->getStatus(); } /** From 24c2c59f51133e1abc958525c3f0f7650c8ee2b1 Mon Sep 17 00:00:00 2001 From: michalsn Date: Fri, 4 Jul 2025 16:02:34 +0200 Subject: [PATCH 2/2] add missing return type --- src/Task.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Task.php b/src/Task.php index d548a8b..b1b2cb6 100644 --- a/src/Task.php +++ b/src/Task.php @@ -301,6 +301,8 @@ protected function runUrl() /** * Sends a job to the queue. + * + * @return bool Status of the queue push */ protected function runQueue() {