From a908fcf4db78743d3d9f859f95a048c912d10446 Mon Sep 17 00:00:00 2001 From: Alexandru Bucur Date: Tue, 29 Jul 2025 22:13:22 +0200 Subject: [PATCH] fix: update shouldBeQueued to have a nullable type to cover php 8.4 compatibility (#21) --- 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;