@@ -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 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * @param array $matrix |
| 44 | 44 | * @param string $key key to filter |
| 45 | - * @param mixed $value to compare against (strict comparison) |
|
| 45 | + * @param string $value to compare against (strict comparison) |
|
| 46 | 46 | * @return array |
| 47 | 47 | */ |
| 48 | 48 | public static function matrixFilterByValue(array $matrix, $key, $value) |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | /** |
| 187 | 187 | * |
| 188 | 188 | * |
| 189 | - * @param mixed $value |
|
| 189 | + * @param string|null $value |
|
| 190 | 190 | * @return PHPUnit_Framework_MockObject_Stub_Return |
| 191 | 191 | * @since Method available since Release 3.0.0 |
| 192 | 192 | */ |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * @param Object $object |
|
| 23 | + * @param \N98\Magento\Command\AbstractMagentoCommand $object |
|
| 24 | 24 | * @param string $methodName |
| 25 | 25 | */ |
| 26 | 26 | public function methodInjection($object, $methodName, ObjectManager $objectManager) |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * @param string $class |
| 36 | 36 | * @param ObjectManager $objectManager |
| 37 | 37 | * |
| 38 | - * @return object |
|
| 38 | + * @return \Symfony\Component\Console\Command\Command |
|
| 39 | 39 | */ |
| 40 | 40 | public function constructorInjection($class, ObjectManager $objectManager) |
| 41 | 41 | { |
@@ -156,6 +156,9 @@ |
||
| 156 | 156 | ->renderByFormat($output, $formattedTable, $format); |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | + /** |
|
| 160 | + * @param string $format |
|
| 161 | + */ |
|
| 159 | 162 | private function renderTableValue($value, $format) |
| 160 | 163 | { |
| 161 | 164 | if ($value === null) { |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | - * @param array|DDLTableColumn[] $columnDefinitions |
|
| 80 | + * @param DDLTableColumn[] $columnDefinitions |
|
| 81 | 81 | */ |
| 82 | 82 | public function setColumns(array $columnDefinitions) |
| 83 | 83 | { |
@@ -90,6 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | 92 | * |
| 93 | + * @param string $scopeId |
|
| 93 | 94 | */ |
| 94 | 95 | private function resolvePaths($path, $scopeId) |
| 95 | 96 | { |
@@ -123,7 +124,7 @@ discard block |
||
| 123 | 124 | * @param InputInterface $input |
| 124 | 125 | * @param WriterInterface $configWriter |
| 125 | 126 | * @param $path |
| 126 | - * @param $scopeId |
|
| 127 | + * @param string $scopeId |
|
| 127 | 128 | * |
| 128 | 129 | * @return array |
| 129 | 130 | */ |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use Magento\Framework\Filesystem; |
| 11 | 11 | use Magento\Framework\Filesystem\Directory\WriteInterface; |
| 12 | 12 | use N98\Magento\Command\Developer\Console\Structure\ThemeNameStructure; |
| 13 | -use N98\Magento\Command\Developer\Console\Util\Xml; |
|
| 14 | 13 | use Symfony\Component\Console\Input\InputArgument; |
| 15 | 14 | use Symfony\Component\Console\Input\InputInterface; |
| 16 | 15 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -446,7 +446,7 @@ |
||
| 446 | 446 | |
| 447 | 447 | /** |
| 448 | 448 | * @param null|bool|string $optionAddTime [optional] true for default "suffix", other string values: "prefix", "no" |
| 449 | - * @return array |
|
| 449 | + * @return string[] |
|
| 450 | 450 | */ |
| 451 | 451 | private function getFileNamePrefixSuffix($optionAddTime = null) |
| 452 | 452 | { |