@@ -5,7 +5,6 @@ |
||
5 | 5 | */ |
6 | 6 | namespace Zicht\Tool\Command; |
7 | 7 | |
8 | -use Symfony\Component\Console\Input; |
|
9 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 9 | use Symfony\Component\Console\Input\InputInterface; |
11 | 10 |
@@ -158,7 +158,7 @@ |
||
158 | 158 | new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), |
159 | 159 | new InputOption('--no-cache', '-c', InputOption::VALUE_NONE, 'Force recompilation of container code'), |
160 | 160 | new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this application version.'), |
161 | - new InputOption('--no-ansi', '', InputOption::VALUE_NONE, 'Disable ANSI output'), |
|
161 | + new InputOption('--no-ansi', '', InputOption::VALUE_NONE, 'Disable ANSI output'), |
|
162 | 162 | ) |
163 | 163 | ); |
164 | 164 | } |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * Return the raw context value at the specified path. |
185 | 185 | * |
186 | 186 | * @param array|string $path |
187 | - * @return mixed |
|
187 | + * @return string|null |
|
188 | 188 | */ |
189 | 189 | public function get($path) |
190 | 190 | { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | * This is useful for commands that need the shell regardless of the 'explain' value setting. |
279 | 279 | * |
280 | 280 | * @param string $cmd |
281 | - * @return mixed |
|
281 | + * @return string|null |
|
282 | 282 | */ |
283 | 283 | public function helperExec($cmd) |
284 | 284 | { |
@@ -98,6 +98,8 @@ |
||
98 | 98 | |
99 | 99 | /** |
100 | 100 | * @{@inheritDoc} |
101 | + * @param string $shortcut |
|
102 | + * @param string $help |
|
101 | 103 | */ |
102 | 104 | public function addOption($name, $shortcut = null, $mode = null, $help = null, $default = null) |
103 | 105 | { |
@@ -82,7 +82,7 @@ |
||
82 | 82 | |
83 | 83 | if (!is_null($application)) { |
84 | 84 | try { |
85 | - foreach($this->getContainer()->plugins as $plugin) { |
|
85 | + foreach ($this->getContainer()->plugins as $plugin) { |
|
86 | 86 | if ($plugin instanceof PluginTaskListenerInterface) { |
87 | 87 | $name = implode('.', array_slice($this->getTaskReference(), 1)); |
88 | 88 | $listeners = $plugin->getTaskListeners(); |