@@ -45,6 +45,9 @@ |
||
| 45 | 45 | return $result ?: $this->parentOutput(); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @return InputInterface |
|
| 50 | + */ |
|
| 48 | 51 | protected function input() |
| 49 | 52 | { |
| 50 | 53 | $result = null; |
@@ -94,6 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | 96 | * Create a config object and load it from the provided paths. |
| 97 | + * @param string[] $paths |
|
| 97 | 98 | */ |
| 98 | 99 | public static function createConfiguration($paths) |
| 99 | 100 | { |
@@ -104,6 +105,7 @@ discard block |
||
| 104 | 105 | |
| 105 | 106 | /** |
| 106 | 107 | * Use a simple config loader to load configuration values from specified paths |
| 108 | + * @param Config\Config $config |
|
| 107 | 109 | */ |
| 108 | 110 | public static function loadConfiguration($paths, $config = null) |
| 109 | 111 | { |
@@ -155,6 +157,10 @@ discard block |
||
| 155 | 157 | return $container; |
| 156 | 158 | } |
| 157 | 159 | |
| 160 | + /** |
|
| 161 | + * @param Application $app |
|
| 162 | + * @param Container $container |
|
| 163 | + */ |
|
| 158 | 164 | public static function configureApplication($app, $container) |
| 159 | 165 | { |
| 160 | 166 | // Set the application dispatcher |
@@ -336,7 +342,7 @@ discard block |
||
| 336 | 342 | * @param string $id |
| 337 | 343 | * The ID of the service to retrieve. |
| 338 | 344 | * |
| 339 | - * @return mixed |
|
| 345 | + * @return \Symfony\Component\Console\Output\OutputInterface |
|
| 340 | 346 | * The specified service. |
| 341 | 347 | */ |
| 342 | 348 | public static function service($id) |
@@ -90,6 +90,9 @@ |
||
| 90 | 90 | } |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | + /** |
|
| 94 | + * @param OutputInterface $output |
|
| 95 | + */ |
|
| 93 | 96 | protected function createLogger($output) |
| 94 | 97 | { |
| 95 | 98 | return new \Robo\Log\RoboLogger($output); |