@@ -128,7 +128,7 @@ |
||
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |
131 | - * @param string|ServiceProvider $provider |
|
131 | + * @param string $provider |
|
132 | 132 | * @return ServiceProvider |
133 | 133 | * @throws InvalidServiceProviderException |
134 | 134 | */ |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Cliphar\Exception\InvalidCommandException; |
16 | 16 | use Cliphar\Exception\InvalidServiceProviderException; |
17 | 17 | use Cliphar\InputDefinition\Exception\InputDefinitionParsingException; |
18 | -use Cliphar\InputDefinition\InputDefinitionParser; |
|
19 | 18 | use Cliphar\ServiceProvider; |
20 | 19 | use Cliphar\Symfony\SymfonyConsoleApplication; |
21 | 20 | use Exception; |
@@ -108,6 +108,9 @@ |
||
108 | 108 | } |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @param callable $callable |
|
113 | + */ |
|
111 | 114 | private function getCallableWrapperFor($callable) |
112 | 115 | { |
113 | 116 | return function (InputInterface $inputInterface, OutputInterface $outputInterface) use ($callable) { |
@@ -36,6 +36,10 @@ |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | |
39 | + /** |
|
40 | + * @param ArgvInput $input |
|
41 | + * @param ConsoleOutput $output |
|
42 | + */ |
|
39 | 43 | public function registerIO($input, $output) |
40 | 44 | { |
41 | 45 | parent::configureIO($input, $output); |
@@ -11,12 +11,7 @@ |
||
11 | 11 | namespace Cliphar\Symfony; |
12 | 12 | |
13 | 13 | use Cliphar\Binder; |
14 | -use Psr\Log\LogLevel; |
|
15 | 14 | use Symfony\Component\Console\Application; |
16 | -use Symfony\Component\Console\Formatter\OutputFormatter; |
|
17 | -use Symfony\Component\Console\Formatter\OutputFormatterStyle; |
|
18 | -use Symfony\Component\Console\Input\ArgvInput; |
|
19 | -use Symfony\Component\Console\Output\ConsoleOutput; |
|
20 | 15 | use Symfony\Component\Console\Output\OutputInterface; |
21 | 16 | |
22 | 17 | /** |