Skip to content

Commit 2c9c42b

Browse files
committed
Added link to description for the new methods
1 parent 3b77f00 commit 2c9c42b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/job-queue/JobProcessor.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,21 @@ public function interruptRootJob(Job $job, $force = false)
243243
});
244244
}
245245

246+
/**
247+
* @link https://github.com/php-enqueue/enqueue-dev/pull/222#issuecomment-336102749 See for rationale
248+
*
249+
* @param Job $job
250+
*/
246251
protected function saveJob(Job $job)
247252
{
248253
$this->jobStorage->saveJob($job);
249254
}
250255

256+
/**
257+
* @link https://github.com/php-enqueue/enqueue-dev/pull/222#issuecomment-336102749 See for rationale
258+
*
259+
* @param Job $job
260+
*/
251261
protected function sendCalculateRootJobStatusEvent(Job $job)
252262
{
253263
$this->producer->sendEvent(Topics::CALCULATE_ROOT_JOB_STATUS, [

0 commit comments

Comments
 (0)