@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -287,8 +287,7 @@ |
||
287 | 287 | // Magento 2.0 compatibility |
288 | 288 | $magentoVersion = \Magento\Framework\AppInterface::VERSION; |
289 | 289 | $magentoEdition = 'Community'; // @TODO Replace this if EE is available |
290 | - } |
|
291 | - else { |
|
290 | + } else { |
|
292 | 291 | // Magento 2.1+ compatibility |
293 | 292 | /** @var \Magento\Framework\App\ProductMetadata $productMetadata */ |
294 | 293 | $productMetadata = $this->getApplication()->getObjectManager()->get('\Magento\Framework\App\ProductMetadata'); |
@@ -26,8 +26,7 @@ |
||
26 | 26 | // Magento 2.0 compatibility |
27 | 27 | $magentoVersion = \Magento\Framework\AppInterface::VERSION; |
28 | 28 | $magentoEdition = 'Community'; // @TODO Replace this if EE is available |
29 | - } |
|
30 | - else { |
|
29 | + } else { |
|
31 | 30 | // Magento 2.1+ compatibility |
32 | 31 | /** @var \Magento\Framework\App\ProductMetadata $productMetadata */ |
33 | 32 | $productMetadata = $this->getApplication()->getObjectManager()->get('\Magento\Framework\App\ProductMetadata'); |