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

shouldBeQueued() default value true

This commit is contained in:
Samuel Štancl 2020-05-16 12:02:47 +02:00
parent 74b971caef
commit 52470fa734

View file

@ -47,7 +47,7 @@ class JobPipeline implements ShouldQueue
return $this;
}
public function shouldBeQueued(bool $shouldBeQueued)
public function shouldBeQueued(bool $shouldBeQueued = true)
{
$this->shouldBeQueued = $shouldBeQueued;