| @@ -137,7 +137,7 @@ discard block | ||
| 137 | 137 | * | 
| 138 | 138 | * @param array $row | 
| 139 | 139 | * | 
| 140 | - * @return array | |
| 140 | + * @return string[] | |
| 141 | 141 | */ | 
| 142 | 142 | protected function getVariableDescription(array $row) | 
| 143 | 143 |      { | 
| @@ -159,7 +159,7 @@ discard block | ||
| 159 | 159 | } | 
| 160 | 160 | |
| 161 | 161 | /** | 
| 162 | - * @param array $header | |
| 162 | + * @param string[] $header | |
| 163 | 163 | * @param array $rows | 
| 164 | 164 | */ | 
| 165 | 165 | protected function renderTable(array $header, array $rows) | 
| @@ -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 |      { | 
| @@ -50,7 +50,7 @@ | ||
| 50 | 50 | /** | 
| 51 | 51 | * @param string $name | 
| 52 | 52 | * @param string $internalType | 
| 53 | - * @param mixed $subject | |
| 53 | + * @param string $subject | |
| 54 | 54 | */ | 
| 55 | 55 | public static function argumentType($name, $internalType, $subject) | 
| 56 | 56 |      { | 
| @@ -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 | */ | 
| @@ -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) { | 
| @@ -137,9 +137,9 @@ discard block | ||
| 137 | 137 | |
| 138 | 138 | /** | 
| 139 | 139 | * @param \Symfony\Component\Console\Output\OutputInterface $output | 
| 140 | - * @param $rfs | |
| 141 | - * @param $remoteFilename | |
| 142 | - * @param $tempFilename | |
| 140 | + * @param RemoteFilesystem $rfs | |
| 141 | + * @param string $remoteFilename | |
| 142 | + * @param string $tempFilename | |
| 143 | 143 | */ | 
| 144 | 144 | private function downloadNewVersion(OutputInterface $output, $rfs, $remoteFilename, $tempFilename) | 
| 145 | 145 |      { | 
| @@ -220,7 +220,7 @@ discard block | ||
| 220 | 220 | } | 
| 221 | 221 | |
| 222 | 222 | /** | 
| 223 | - * @param $latest | |
| 223 | + * @param string $latest | |
| 224 | 224 | * @param $loadUnstable | 
| 225 | 225 | * @return bool | 
| 226 | 226 | */ | 
| @@ -17,8 +17,8 @@ | ||
| 17 | 17 | class MagentoDetector | 
| 18 | 18 |  { | 
| 19 | 19 | /** | 
| 20 | - * @param \Symfony\Component\Console\Input\InputInterface|null $input | |
| 21 | - * @param \Symfony\Component\Console\Output\OutputInterface|null $output | |
| 20 | + * @param InputInterface $input | |
| 21 | + * @param OutputInterface $output | |
| 22 | 22 | * @param \N98\Magento\Application\Config $config | 
| 23 | 23 | * @param \Symfony\Component\Console\Helper\HelperSet $helperSet | 
| 24 | 24 | * @param string $magentoRootDirectory | 
| @@ -154,7 +154,7 @@ discard block | ||
| 154 | 154 | |
| 155 | 155 | /** | 
| 156 | 156 | * @param InputInterface $input | 
| 157 | - * @param $classNameToGenerate | |
| 157 | + * @param string $classNameToGenerate | |
| 158 | 158 | */ | 
| 159 | 159 | private function writeNewCommandToDiConfig(InputInterface $input, $classNameToGenerate) | 
| 160 | 160 |      { | 
| @@ -177,7 +177,7 @@ discard block | ||
| 177 | 177 | } | 
| 178 | 178 | |
| 179 | 179 | /** | 
| 180 | - * @param $diPath | |
| 180 | + * @param string $diPath | |
| 181 | 181 | * @return Util\Config\FileWriter | 
| 182 | 182 | */ | 
| 183 | 183 | protected function createDiFileWriter($diPath) | 
| @@ -54,7 +54,7 @@ | ||
| 54 | 54 | } | 
| 55 | 55 | |
| 56 | 56 | /** | 
| 57 | - * @param OutputInterface|null $output | |
| 57 | + * @param OutputInterface $output | |
| 58 | 58 | * | 
| 59 | 59 | * @throws RuntimeException | 
| 60 | 60 | * @throws \Magento\Framework\Exception\FileSystemException |