@@ -51,7 +51,7 @@ |
||
51 | 51 | * |
52 | 52 | * @param Bootstrap $bootstrap |
53 | 53 | * @param \Exception $exception |
54 | - * @return bool |
|
54 | + * @return boolean|null |
|
55 | 55 | */ |
56 | 56 | public function catchException(Bootstrap $bootstrap, \Exception $exception) |
57 | 57 | { |
@@ -9,6 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * @param OutputInterface $output |
11 | 11 | * @param array $rows |
12 | + * @return void |
|
12 | 13 | */ |
13 | 14 | public function render(OutputInterface $output, array $rows); |
14 | 15 | } |
@@ -9,6 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * @param OutputInterface $output |
11 | 11 | * @param array $rows |
12 | + * @return void |
|
12 | 13 | */ |
13 | 14 | public function render(OutputInterface $output, array $rows); |
14 | 15 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * |
52 | 52 | * @param Bootstrap $bootstrap |
53 | 53 | * @param \Exception $exception |
54 | - * @return bool |
|
54 | + * @return boolean|null |
|
55 | 55 | */ |
56 | 56 | public function catchException(Bootstrap $bootstrap, \Exception $exception) |
57 | 57 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class InstallSampleData extends AbstractSubCommand |
10 | 10 | { |
11 | 11 | /** |
12 | - * @return bool |
|
12 | + * @return false|null |
|
13 | 13 | */ |
14 | 14 | public function execute() |
15 | 15 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace N98\Magento\Command\Database\Maintain; |
4 | 4 | |
5 | -use Symfony\Component\Console\Output\NullOutput; |
|
6 | -use Symfony\Component\Console\Tester\ApplicationTester; |
|
7 | 5 | use Symfony\Component\Console\Tester\CommandTester; |
8 | 6 | use N98\Magento\Command\PHPUnit\TestCase; |
9 | 7 |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use Symfony\Component\Console\Input\InputInterface; |
21 | 21 | use Symfony\Component\Console\Input\InputOption; |
22 | 22 | use Symfony\Component\Console\Output\ConsoleOutput; |
23 | -use Symfony\Component\Console\Output\NullOutput; |
|
24 | 23 | use Symfony\Component\Console\Output\OutputInterface; |
25 | 24 | use Symfony\Component\EventDispatcher\EventDispatcher; |
26 | 25 | use UnexpectedValueException; |
@@ -222,9 +222,9 @@ |
||
222 | 222 | * @param OutputInterface $output |
223 | 223 | * @param string $name |
224 | 224 | * @param string $value |
225 | - * @param Constraints\Collection|Constraint|Constraint[] $constraints The constraint(s) to validate against. |
|
225 | + * @param Constraints\Collection $constraints The constraint(s) to validate against. |
|
226 | 226 | * |
227 | - * @return mixed |
|
227 | + * @return string |
|
228 | 228 | */ |
229 | 229 | protected function _validateArgument(OutputInterface $output, $name, $value, $constraints) |
230 | 230 | { |