@@ -8,5 +8,10 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | interface ApplicationAwareInterface |
| 10 | 10 | { |
| 11 | + /** |
|
| 12 | + * @param $application |
|
| 13 | + * |
|
| 14 | + * @return void |
|
| 15 | + */ |
|
| 11 | 16 | public function setApplication($application); |
| 12 | 17 | } |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @param Event $event |
|
| 79 | + * @param ConsoleEvent $event |
|
| 80 | 80 | * @param string $message |
| 81 | 81 | */ |
| 82 | 82 | private function debugWriteln(Event $event, $message) |
@@ -206,7 +206,7 @@ |
||
| 206 | 206 | /** |
| 207 | 207 | * @param InputInterface $input |
| 208 | 208 | * @param OutputInterface $output |
| 209 | - * @param $commandString |
|
| 209 | + * @param string $commandString |
|
| 210 | 210 | * @return mixed |
| 211 | 211 | */ |
| 212 | 212 | protected function registerVariable(InputInterface $input, OutputInterface $output, $commandString) |
@@ -222,9 +222,9 @@ |
||
| 222 | 222 | /** |
| 223 | 223 | * @param InputInterface $input |
| 224 | 224 | * @param OutputInterface $output |
| 225 | - * @param $name |
|
| 225 | + * @param string $name |
|
| 226 | 226 | * @param $value |
| 227 | - * @param $constraints |
|
| 227 | + * @param Constraints\Collection $constraints |
|
| 228 | 228 | * @return mixed |
| 229 | 229 | */ |
| 230 | 230 | protected function _validateArgument(InputInterface $input, OutputInterface $output, $name, $value, $constraints) |
@@ -118,22 +118,22 @@ |
||
| 118 | 118 | $areaCode, |
| 119 | 119 | function () use ($check, $results, $checkGroupClass) { |
| 120 | 120 | switch (true) { |
| 121 | - case $check instanceof Check\SimpleCheck: |
|
| 122 | - $check->check($results); |
|
| 123 | - break; |
|
| 124 | - |
|
| 125 | - case $check instanceof Check\StoreCheck: |
|
| 126 | - $this->checkStores($results, $checkGroupClass, $check); |
|
| 127 | - break; |
|
| 128 | - |
|
| 129 | - case $check instanceof Check\WebsiteCheck: |
|
| 130 | - $this->checkWebsites($results, $checkGroupClass, $check); |
|
| 131 | - break; |
|
| 132 | - |
|
| 133 | - default: |
|
| 134 | - throw new LogicException( |
|
| 135 | - sprintf('Unhandled check-class "%s"', $checkGroupClass) |
|
| 136 | - ); |
|
| 121 | + case $check instanceof Check\SimpleCheck: |
|
| 122 | + $check->check($results); |
|
| 123 | + break; |
|
| 124 | + |
|
| 125 | + case $check instanceof Check\StoreCheck: |
|
| 126 | + $this->checkStores($results, $checkGroupClass, $check); |
|
| 127 | + break; |
|
| 128 | + |
|
| 129 | + case $check instanceof Check\WebsiteCheck: |
|
| 130 | + $this->checkWebsites($results, $checkGroupClass, $check); |
|
| 131 | + break; |
|
| 132 | + |
|
| 133 | + default: |
|
| 134 | + throw new LogicException( |
|
| 135 | + sprintf('Unhandled check-class "%s"', $checkGroupClass) |
|
| 136 | + ); |
|
| 137 | 137 | } |
| 138 | 138 | } |
| 139 | 139 | ); |