mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 22:34:03 +00:00
Add missing return type
This adds the `self` return type to `JobPipeline::shouldBeQueued()` so that static analyzers won't get confused and treat its return value as `mixed`.
This commit is contained in:
parent
a987f8ff69
commit
2bdfe95af8
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class JobPipeline implements ShouldQueue
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function shouldBeQueued(bool $shouldBeQueued = true)
|
public function shouldBeQueued(bool $shouldBeQueued = true): self
|
||||||
{
|
{
|
||||||
$this->shouldBeQueued = $shouldBeQueued;
|
$this->shouldBeQueued = $shouldBeQueued;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue