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

reuse shouldBeQueuedOn

This commit is contained in:
Jonathan Martins 2023-02-25 11:53:59 -03:00
parent 7e618f6950
commit 29fb12fd4b

View file

@ -63,8 +63,7 @@ class JobPipeline implements ShouldQueue
{
if (is_string($shouldBeQueued))
{
$this->onQueue($shouldBeQueued);
$this->shouldBeQueued = true;
$this->shouldBeQueuedOn($shouldBeQueued);
}
else
{