@@ -78,6 +78,10 @@ discard block |
||
78 | 78 | $this->resetState(); |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param \League\Container\ContainerInterface $container |
|
83 | + * @param BuilderAwareInterface $commandFile |
|
84 | + */ |
|
81 | 85 | public static function create($container, $commandFile) |
82 | 86 | { |
83 | 87 | $builder = new self($commandFile); |
@@ -286,6 +290,9 @@ discard block |
||
286 | 290 | return $this->callCollectionStateFunction(__FUNCTION__, func_get_args()); |
287 | 291 | } |
288 | 292 | |
293 | + /** |
|
294 | + * @param string $functionName |
|
295 | + */ |
|
289 | 296 | protected function callCollectionStateFunction($functionName, $args) |
290 | 297 | { |
291 | 298 | $currentTask = ($this->currentTask instanceof WrappedTaskInterface) ? $this->currentTask->original() : $this->currentTask; |