1
0
Fork 0
mirror of https://github.com/archtechx/jobpipeline.git synced 2025-12-12 18:24:05 +00:00

fix: update shouldBeQueued to have a nullable type to cover php 8.4 compatibility

This commit is contained in:
Alexandru Bucur 2025-03-15 20:39:19 +01:00 committed by GitHub
parent 240d032172
commit 84da0558f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;