1
0
Fork 0
mirror of https://github.com/archtechx/jobpipeline.git synced 2025-12-12 23:14:04 +00:00

Update JobPipeline.php

$queue string labelled as explicitly nullable for php 8.2+
This commit is contained in:
Colin Mallon 2025-04-22 15:01:37 +01:00 committed by GitHub
parent 240d032172
commit aa3c8521ed
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;