@@ -148,6 +148,7 @@ discard block |
||
148 | 148 | /** |
149 | 149 | * @param string $crcCacheKey |
150 | 150 | * @param int|null $newFoundPriority |
151 | + * @param string $foundJobCacheKey |
|
151 | 152 | */ |
152 | 153 | protected function finishBatchFoundJob(Job $foundJob, $foundJobCacheKey, $crcCacheKey, $newFoundWhen, $newFoundPriority) |
153 | 154 | { |
@@ -170,6 +171,7 @@ discard block |
||
170 | 171 | |
171 | 172 | /** |
172 | 173 | * @param bool $adjust |
174 | + * @param string $crcCacheKey |
|
173 | 175 | */ |
174 | 176 | protected function addFoundJob($adjust, Job $foundJob, $foundJobCacheKey, $crcCacheKey) |
175 | 177 | { |
@@ -212,7 +212,7 @@ |
||
212 | 212 | * @param bool $prioritize |
213 | 213 | * @param int $runId |
214 | 214 | * |
215 | - * @return Job|null |
|
215 | + * @return boolean|null |
|
216 | 216 | */ |
217 | 217 | public function getJob($workerName = null, $methodName = null, $prioritize = true, $runId = null) |
218 | 218 | { |
@@ -6,6 +6,9 @@ |
||
6 | 6 | |
7 | 7 | trait StatusTrait |
8 | 8 | { |
9 | + /** |
|
10 | + * @param string $cacheKey |
|
11 | + */ |
|
9 | 12 | protected function collateStatusResults(array &$results, $cacheKey) |
10 | 13 | { |
11 | 14 | $cursor = null; |