Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,10 @@

/**
* Sends a job to the queue.
*
* @return bool Status of the queue push
*/
protected function runQueue()

Check warning on line 307 in src/Task.php

View workflow job for this annotation

GitHub Actions / infection / Mutation Testing

Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ * * @return bool Status of the queue push */ - protected function runQueue() + private function runQueue() { $queueAction = $this->getAction(); if ($this->singleInstance) {
{
$queueAction = $this->getAction();

Expand All @@ -315,7 +317,7 @@
]);
}

return service('queue')->push(...$queueAction);
return service('queue')->push(...$queueAction)->getStatus();
}

/**
Expand Down