@@ -153,6 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * @param string $crcCacheKey |
| 155 | 155 | * @param int|null $newFoundPriority |
| 156 | + * @param string $foundJobCacheKey |
|
| 156 | 157 | */ |
| 157 | 158 | protected function finishBatchFoundJob(Job $foundJob, $foundJobCacheKey, $crcCacheKey, $newFoundWhen, $newFoundPriority) |
| 158 | 159 | { |
@@ -175,6 +176,7 @@ discard block |
||
| 175 | 176 | |
| 176 | 177 | /** |
| 177 | 178 | * @param bool $adjust |
| 179 | + * @param string $crcCacheKey |
|
| 178 | 180 | */ |
| 179 | 181 | protected function addFoundJob($adjust, Job $foundJob, $foundJobCacheKey, $crcCacheKey) |
| 180 | 182 | { |
@@ -428,6 +430,9 @@ discard block |
||
| 428 | 430 | return true; |
| 429 | 431 | } |
| 430 | 432 | |
| 433 | + /** |
|
| 434 | + * @param string $cacheKey |
|
| 435 | + */ |
|
| 431 | 436 | protected function collateStatusResults(array &$results, $cacheKey) |
| 432 | 437 | { |
| 433 | 438 | $cursor = null; |
@@ -432,7 +432,7 @@ |
||
| 432 | 432 | { |
| 433 | 433 | $cursor = null; |
| 434 | 434 | while ($jobs = $this->redis->zScan($cacheKey, $cursor, '', 100)) { |
| 435 | - $jobs = $this->redis->mget(array_map(function ($item) { |
|
| 435 | + $jobs = $this->redis->mget(array_map(function($item) { |
|
| 436 | 436 | return $this->getJobCacheKey($item); |
| 437 | 437 | }, array_keys($jobs))); |
| 438 | 438 | foreach ($jobs as $jobMessage) { |