@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | /** |
14 | 14 | * @param OutputInterface $output |
15 | - * @return null|false |
|
15 | + * @return boolean |
|
16 | 16 | */ |
17 | 17 | public function check(OutputInterface $output) |
18 | 18 | { |
@@ -17,8 +17,8 @@ |
||
17 | 17 | class MagentoDetector |
18 | 18 | { |
19 | 19 | /** |
20 | - * @param \Symfony\Component\Console\Input\InputInterface|null $input |
|
21 | - * @param \Symfony\Component\Console\Output\OutputInterface|null $output |
|
20 | + * @param InputInterface $input |
|
21 | + * @param OutputInterface $output |
|
22 | 22 | * @param \N98\Magento\Application\Config $config |
23 | 23 | * @param \Symfony\Component\Console\Helper\HelperSet $helperSet |
24 | 24 | * @param string $magentoRootDirectory |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | |
155 | 155 | /** |
156 | 156 | * @param InputInterface $input |
157 | - * @param $classNameToGenerate |
|
157 | + * @param string $classNameToGenerate |
|
158 | 158 | */ |
159 | 159 | private function writeNewCommandToDiConfig(InputInterface $input, $classNameToGenerate) |
160 | 160 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | } |
178 | 178 | |
179 | 179 | /** |
180 | - * @param $diPath |
|
180 | + * @param string $diPath |
|
181 | 181 | * @return Util\Config\FileWriter |
182 | 182 | */ |
183 | 183 | protected function createDiFileWriter($diPath) |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | |
100 | 100 | /** |
101 | 101 | * @param bool $ignoreDataUpdate |
102 | - * @param array $headers |
|
102 | + * @param string[] $headers |
|
103 | 103 | * @param int $errorCount |
104 | 104 | * @return array |
105 | 105 | */ |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } |
183 | 183 | |
184 | 184 | /** |
185 | - * @param $ignoreDataUpdate |
|
185 | + * @param boolean $ignoreDataUpdate |
|
186 | 186 | * @param $errorCount |
187 | 187 | * @param $name |
188 | 188 | * @param $module |
@@ -213,10 +213,10 @@ discard block |
||
213 | 213 | /** |
214 | 214 | * @param InputInterface $input |
215 | 215 | * @param OutputInterface $output |
216 | - * @param $headers |
|
216 | + * @param string[] $headers |
|
217 | 217 | * @param $table |
218 | - * @param $junit |
|
219 | - * @param $errors |
|
218 | + * @param JUnitSession|null $junit |
|
219 | + * @param integer $errors |
|
220 | 220 | */ |
221 | 221 | private function output(InputInterface $input, OutputInterface $output, $headers, $table, $junit, $errors) |
222 | 222 | { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
57 | - * @param OutputInterface|null $output |
|
57 | + * @param OutputInterface $output |
|
58 | 58 | * |
59 | 59 | * @throws RuntimeException |
60 | 60 | * @throws \Magento\Framework\Exception\FileSystemException |
@@ -226,9 +226,9 @@ |
||
226 | 226 | * @param OutputInterface $output |
227 | 227 | * @param string $name |
228 | 228 | * @param string $value |
229 | - * @param Constraints\Collection|Constraint|Constraint[] $constraints The constraint(s) to validate against. |
|
229 | + * @param Constraints\Collection $constraints The constraint(s) to validate against. |
|
230 | 230 | * |
231 | - * @return mixed |
|
231 | + * @return string |
|
232 | 232 | * @throws \Exception |
233 | 233 | */ |
234 | 234 | protected function _validateArgument(OutputInterface $output, $name, $value, $constraints) |