@@ -42,7 +42,6 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * BestCheckpoints constructor. |
| 44 | 44 | * |
| 45 | - * @param Factory $factory |
|
| 46 | 45 | * @param PlayerStorage $playerStorage |
| 47 | 46 | * @param BestCheckpointsWidgetFactory $widget |
| 48 | 47 | * @param UpdaterWidgetFactory $updater |
@@ -85,8 +85,8 @@ discard block |
||
| 85 | 85 | * @param $config |
| 86 | 86 | * @param $manialink |
| 87 | 87 | * @param $element |
| 88 | - * @param $width |
|
| 89 | - * @param $manialinkFactory |
|
| 88 | + * @param double $width |
|
| 89 | + * @param ManialinkFactory $manialinkFactory |
|
| 90 | 90 | * |
| 91 | 91 | * @return \eXpansion\Framework\Gui\Layouts\LayoutLine |
| 92 | 92 | */ |
@@ -102,6 +102,10 @@ discard block |
||
| 102 | 102 | ->setAction( |
| 103 | 103 | $this->actionFactory->createManialinkAction( |
| 104 | 104 | $manialink, |
| 105 | + |
|
| 106 | + /** |
|
| 107 | + * @param double $args |
|
| 108 | + */ |
|
| 105 | 109 | function (ManialinkInterface $manialink, $login, $entries, $args) use ($manialinkFactory) { |
| 106 | 110 | /** @var TextListConfig $config */ |
| 107 | 111 | $config = $args['config']; |
@@ -89,6 +89,9 @@ |
||
| 89 | 89 | } |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | + /** |
|
| 93 | + * @param string $command |
|
| 94 | + */ |
|
| 92 | 95 | protected function runCommand($command, $playerLogin, SymfonyStyle $sfs) |
| 93 | 96 | { |
| 94 | 97 | $process = new Process($command); |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | |
| 147 | 147 | /** |
| 148 | 148 | * Get titlepack name such as TMStadium@nadeo |
| 149 | - * @return mixed |
|
| 149 | + * @return string |
|
| 150 | 150 | */ |
| 151 | 151 | public function getTitle() |
| 152 | 152 | { |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | - * @param Systeminfos $systemInfo |
|
| 189 | + * @param SystemInfos $systemInfo |
|
| 190 | 190 | */ |
| 191 | 191 | public function setSystemInfo(Systeminfos $systemInfo) |
| 192 | 192 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | - * @param float|int $startY |
|
| 137 | + * @param double $startY |
|
| 138 | 138 | */ |
| 139 | 139 | public function setStartY($startY) |
| 140 | 140 | { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | - * @return float|int |
|
| 230 | + * @return double |
|
| 231 | 231 | */ |
| 232 | 232 | public function getWidth() |
| 233 | 233 | { |
@@ -59,7 +59,6 @@ |
||
| 59 | 59 | * @param GameDataStorage $gameData |
| 60 | 60 | * @param PlayerStorage $playerStorage |
| 61 | 61 | * @param LoggerInterface $logger |
| 62 | - * @param string $url |
|
| 63 | 62 | * @param int $pingInterval |
| 64 | 63 | * @param int $retryInterval |
| 65 | 64 | */ |