@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param GearmanCacheWrapper $gearmanCacheWrapper GearmanCacheWrapper |
| 40 | 40 | * |
| 41 | - * @return GearmanCacheWarmupCommand self Object |
|
| 41 | + * @return GearmanCacheClearCommand self Object |
|
| 42 | 42 | */ |
| 43 | 43 | public function setGearmanCacheWrapper(GearmanCacheWrapper $gearmanCacheWrapper) |
| 44 | 44 | { |
@@ -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; |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param GearmanClient $gearmanClient Gearman client |
| 40 | 40 | * |
| 41 | - * @return GearmanJobDescribeCommand self Object |
|
| 41 | + * @return GearmanWorkerListCommand self Object |
|
| 42 | 42 | */ |
| 43 | 43 | public function setGearmanClient(GearmanClient $gearmanClient) |
| 44 | 44 | { |
@@ -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; |
@@ -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 | { |
@@ -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; |
@@ -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 | */ |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -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; |