mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 09:24:02 +00:00
fix: update shouldBeQueued to have a nullable type to cover php 8.4 compatibility (#21)
This commit is contained in:
parent
240d032172
commit
a908fcf4db
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class JobPipeline implements ShouldQueue
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function shouldBeQueued(bool $shouldBeQueued = true, string $queue = null)
|
public function shouldBeQueued(bool $shouldBeQueued = true, ?string $queue = null)
|
||||||
{
|
{
|
||||||
$this->shouldBeQueued = $shouldBeQueued;
|
$this->shouldBeQueued = $shouldBeQueued;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue