@@ -72,6 +72,10 @@ discard block |
||
72 | 72 | $this->commandFile = $commandFile; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param \League\Container\ContainerInterface $container |
|
77 | + * @param BuilderAwareInterface $commandFile |
|
78 | + */ |
|
75 | 79 | public static function create($container, $commandFile) |
76 | 80 | { |
77 | 81 | $builder = new self($commandFile); |
@@ -390,7 +394,7 @@ discard block |
||
390 | 394 | * @param InflectionInterface $task |
391 | 395 | * @param array $args |
392 | 396 | * |
393 | - * @return \Robo\Collection\CompletionWrapper|\Robo\Task\Simulator |
|
397 | + * @return TaskInterface |
|
394 | 398 | */ |
395 | 399 | protected function fixTask($task, $args) |
396 | 400 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use Robo\Robo; |
5 | 5 | use Robo\Collection\CollectionBuilder; |
6 | 6 | use Symfony\Component\Console\Output\ConsoleOutput; |
7 | - |
|
8 | 7 | use League\Container\ContainerAwareInterface; |
9 | 8 | use League\Container\ContainerAwareTrait; |
10 | 9 |
@@ -24,6 +24,10 @@ |
||
24 | 24 | $this->process = $process; |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param \League\Container\ContainerInterface $container |
|
29 | + * @param Process $process |
|
30 | + */ |
|
27 | 31 | public static function create($container, $process) |
28 | 32 | { |
29 | 33 | $processExecutor = new self($process); |