From 84da0558f11f732b6150807c79b029724b05373f Mon Sep 17 00:00:00 2001 From: Alexandru Bucur Date: Sat, 15 Mar 2025 20:39:19 +0100 Subject: [PATCH] fix: update shouldBeQueued to have a nullable type to cover php 8.4 compatibility --- src/JobPipeline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JobPipeline.php b/src/JobPipeline.php index 38badf8..9239cda 100644 --- a/src/JobPipeline.php +++ b/src/JobPipeline.php @@ -51,7 +51,7 @@ class JobPipeline implements ShouldQueue return $this; } - public function shouldBeQueued(bool $shouldBeQueued = true, string $queue = null) + public function shouldBeQueued(bool $shouldBeQueued = true, ?string $queue = null) { $this->shouldBeQueued = $shouldBeQueued;