@@ -62,6 +62,7 @@ discard block |
||
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * {@inheritdoc} |
| 65 | + * @param string $class |
|
| 65 | 66 | */ |
| 66 | 67 | public function getFile($class) |
| 67 | 68 | { |
@@ -70,7 +71,7 @@ discard block |
||
| 70 | 71 | |
| 71 | 72 | /** |
| 72 | 73 | * @param $directories |
| 73 | - * @param $pattern |
|
| 74 | + * @param string $pattern |
|
| 74 | 75 | * |
| 75 | 76 | * @return \Symfony\Component\Finder\Finder |
| 76 | 77 | */ |
@@ -85,9 +86,9 @@ discard block |
||
| 85 | 86 | } |
| 86 | 87 | |
| 87 | 88 | /** |
| 88 | - * @param $path |
|
| 89 | + * @param string $path |
|
| 89 | 90 | * |
| 90 | - * @return mixed |
|
| 91 | + * @return string |
|
| 91 | 92 | */ |
| 92 | 93 | protected function convertPathToNamespace($path) |
| 93 | 94 | { |
@@ -95,6 +96,7 @@ discard block |
||
| 95 | 96 | } |
| 96 | 97 | |
| 97 | 98 | /** |
| 99 | + * @param string $namespace |
|
| 98 | 100 | * @return string |
| 99 | 101 | */ |
| 100 | 102 | public function convertNamespaceToPath($namespace) |
@@ -68,6 +68,9 @@ discard block |
||
| 68 | 68 | $this->dir = getcwd(); |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param string $errorType |
|
| 73 | + */ |
|
| 71 | 74 | protected function errorCondtion($msg, $errorType) |
| 72 | 75 | { |
| 73 | 76 | $this->errorConditions[$msg] = $errorType; |
@@ -115,7 +118,7 @@ discard block |
||
| 115 | 118 | } |
| 116 | 119 | |
| 117 | 120 | /** |
| 118 | - * @param array $argv |
|
| 121 | + * @param string[] $argv |
|
| 119 | 122 | * @param null|string $appName |
| 120 | 123 | * @param null|string $appVersion |
| 121 | 124 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
@@ -138,7 +141,7 @@ discard block |
||
| 138 | 141 | * @param null|\Symfony\Component\Console\Input\InputInterface $input |
| 139 | 142 | * @param null|\Symfony\Component\Console\Output\OutputInterface $output |
| 140 | 143 | * @param null|\Robo\Application $app |
| 141 | - * @param array[] $commandFiles |
|
| 144 | + * @param null|string $commandFiles |
|
| 142 | 145 | * @param null|ClassLoader $classLoader |
| 143 | 146 | * |
| 144 | 147 | * @return int |
@@ -229,9 +232,9 @@ discard block |
||
| 229 | 232 | } |
| 230 | 233 | |
| 231 | 234 | /** |
| 232 | - * @param $relativeNamespace |
|
| 235 | + * @param string $relativeNamespace |
|
| 233 | 236 | * |
| 234 | - * @return array|string[] |
|
| 237 | + * @return string[] |
|
| 235 | 238 | */ |
| 236 | 239 | protected function discoverCommandClasses($relativeNamespace) |
| 237 | 240 | { |