@@ -114,7 +114,7 @@ |
||
114 | 114 | * 1 is finished |
115 | 115 | * Between 0 and 1 is in process. Value is a float |
116 | 116 | * |
117 | - * @return float Percent completed |
|
117 | + * @return integer Percent completed |
|
118 | 118 | */ |
119 | 119 | public function getCompletionPercent() |
120 | 120 | { |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param ReflectionClass $reflectionClass Reflexion class |
292 | 292 | * @param Reader $reader ReaderAnnotation class |
293 | 293 | * |
294 | - * @return WorkerClass self Object |
|
294 | + * @return JobCollection self Object |
|
295 | 295 | */ |
296 | 296 | private function createJobCollection(ReflectionClass $reflectionClass, Reader $reader) |
297 | 297 | { |
@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use Doctrine\Common\Annotations\Reader; |
17 | 17 | use ReflectionClass; |
18 | - |
|
19 | 18 | use Mmoreram\GearmanBundle\Driver\Gearman\Job as JobAnnotation; |
20 | 19 | use Mmoreram\GearmanBundle\Driver\Gearman\Work as WorkAnnotation; |
21 | 20 | use Mmoreram\GearmanBundle\Module\JobClass as Job; |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | /** |
112 | 112 | * Toggles that work should be stopped, we only subscribe to SIGTERM and SIGHUP |
113 | - * @param int $signno Signal number |
|
113 | + * @param int $signo Signal number |
|
114 | 114 | */ |
115 | 115 | public function handleSystemSignal($signo) |
116 | 116 | { |
@@ -414,7 +414,6 @@ discard block |
||
414 | 414 | * @see https://github.com/brianlmoon/GearmanManager/blob/ffc828dac2547aff76cb4962bb3fcc4f454ec8a2/GearmanPeclManager.php#L95-206 |
415 | 415 | * |
416 | 416 | * @param \GearmanJob $job |
417 | - * @param mixed $context |
|
418 | 417 | * |
419 | 418 | * @return mixed |
420 | 419 | */ |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
19 | 19 | use Symfony\Component\DependencyInjection\ContainerInterface; |
20 | 20 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
21 | - |
|
22 | 21 | use Mmoreram\GearmanBundle\Command\Util\GearmanOutputAwareInterface; |
23 | 22 | use Mmoreram\GearmanBundle\Event\GearmanWorkExecutedEvent; |
24 | 23 | use Mmoreram\GearmanBundle\Event\GearmanWorkStartingEvent; |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use ReflectionClass; |
18 | 18 | use Symfony\Component\Finder\Finder; |
19 | 19 | use Symfony\Component\HttpKernel\KernelInterface; |
20 | - |
|
21 | 20 | use Mmoreram\GearmanBundle\Driver\Gearman\Work as WorkAnnotation; |
22 | 21 | use Mmoreram\GearmanBundle\Module\WorkerClass as Worker; |
23 | 22 | use Mmoreram\GearmanBundle\Module\WorkerCollection; |