Skip to content

Commit 1003c27

Browse files
committed
shorten code
1 parent 9227682 commit 1003c27

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Illuminate/Queue/Worker.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,7 @@ public function process($connectionName, $job, WorkerOptions $options)
326326
);
327327

328328
if ($job->isDeleted()) {
329-
$this->raiseAfterJobEvent($connectionName, $job);
330-
331-
return;
329+
return $this->raiseAfterJobEvent($connectionName, $job);
332330
}
333331

334332
// Here we will fire off the job and let it process. We will catch any exceptions so

0 commit comments

Comments
 (0)