@@ -33,7 +33,7 @@ |
||
| 33 | 33 | $total += count($this->jobs[$jobWorkerName]); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - return array_sum(array_map(function ($jobs) { return count($jobs); }, $this->jobs)); |
|
| 36 | + return array_sum(array_map(function($jobs) { return count($jobs); }, $this->jobs)); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function getStatus() |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | $this->eventDispatcher->dispatch(Event::PRE_JOB, $event); |
| 99 | 99 | |
| 100 | 100 | $start = microtime(true); |
| 101 | - $handleException = function (\Exception $exception) use ($job) { |
|
| 101 | + $handleException = function(\Exception $exception) use ($job) { |
|
| 102 | 102 | /** @var \Exception $exception */ |
| 103 | 103 | $exceptionMessage = get_class($exception)."\n".$exception->getCode().' - '.$exception->getMessage()."\n".$exception->getTraceAsString(); |
| 104 | 104 | $this->log('debug', "Failed: {$job->getClassName()}->{$job->getMethod()}"); |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | trait CommonTrait |
| 9 | 9 | { |
| 10 | 10 | /** |
| 11 | - * @param ObjectManager $objectManager |
|
| 12 | 11 | * @param string $objectName |
| 13 | 12 | * @param string $field |
| 14 | 13 | * @param \DateTime $olderThan |