@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * @param $id |
|
46 | + * @param string $id |
|
47 | 47 | * |
48 | 48 | * @return object |
49 | 49 | */ |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @param array $headers |
|
72 | + * @param string[] $headers |
|
73 | 73 | * @param array $rows |
74 | 74 | * @param OutputInterface $output |
75 | 75 | */ |
@@ -13,11 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
15 | 15 | use Symfony\Component\Console\Helper\ProgressBar; |
16 | -use Symfony\Component\Console\Helper\QuestionHelper; |
|
17 | 16 | use Symfony\Component\Console\Input\InputInterface; |
18 | 17 | use Symfony\Component\Console\Output\OutputInterface; |
19 | -use Symfony\Component\Console\Question\Question; |
|
20 | -use Symfony\Component\Validator\ConstraintViolationList; |
|
21 | 18 | |
22 | 19 | abstract class AbstractInstallCommand extends ContainerAwareCommand |
23 | 20 | { |
@@ -20,9 +20,9 @@ |
||
20 | 20 | use Symfony\Component\Console\Output\OutputInterface; |
21 | 21 | use Symfony\Component\Console\Question\Question; |
22 | 22 | use Symfony\Component\Intl\Intl; |
23 | +use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
23 | 24 | use Symfony\Component\Validator\Constraints\Email; |
24 | 25 | use Symfony\Component\Validator\Constraints\NotBlank; |
25 | -use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | { |
167 | 167 | $this->questionHelper = $this->command->getHelper('question'); |
168 | 168 | $inputString = implode(PHP_EOL, $this->inputChoices); |
169 | - $this->questionHelper->setInputStream($this->getInputStream($inputString.PHP_EOL)); |
|
169 | + $this->questionHelper->setInputStream($this->getInputStream($inputString . PHP_EOL)); |
|
170 | 170 | |
171 | 171 | $this->tester->execute(['command' => $name]); |
172 | 172 | } |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | private function iExecuteCommandAndConfirm($name) |
178 | 178 | { |
179 | 179 | $this->questionHelper = $this->command->getHelper('question'); |
180 | - $inputString = 'y'.PHP_EOL; |
|
180 | + $inputString = 'y' . PHP_EOL; |
|
181 | 181 | $this->questionHelper->setInputStream($this->getInputStream($inputString)); |
182 | 182 | |
183 | 183 | $this->tester->execute(['command' => $name]); |