@@ -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; |
@@ -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; |
@@ -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; |