@@ -299,11 +299,11 @@ |
||
| 299 | 299 | $fileSystem->write($file, $result->getResponse()); |
| 300 | 300 | } |
| 301 | 301 | |
| 302 | - if (!$this->connection->checkMapForCurrentServerParams($titlepack.DIRECTORY_SEPARATOR.$filename)) { |
|
| 303 | - $this->chatNotification->sendMessage("expansion_mx.chat.fail"); |
|
| 302 | + if (!$this->connection->checkMapForCurrentServerParams($titlepack.DIRECTORY_SEPARATOR.$filename)) { |
|
| 303 | + $this->chatNotification->sendMessage("expansion_mx.chat.fail"); |
|
| 304 | 304 | |
| 305 | - return; |
|
| 306 | - } |
|
| 305 | + return; |
|
| 306 | + } |
|
| 307 | 307 | |
| 308 | 308 | $map = $this->connection->getMapInfo($titlepack.DIRECTORY_SEPARATOR.$filename); |
| 309 | 309 | $this->connection->addMap($map->fileName); |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @param \SimpleXMLElement $element |
| 87 | - * @param array $elementProperties |
|
| 87 | + * @param string $elementProperties |
|
| 88 | 88 | */ |
| 89 | 89 | protected function configureUiProperty(\SimpleXMLElement $element, $elementProperties) |
| 90 | 90 | { |
@@ -57,10 +57,10 @@ |
||
| 57 | 57 | * |
| 58 | 58 | * @param Connection $connection |
| 59 | 59 | * @param PlayerStorage $playerStorage |
| 60 | - * @param Group $allPlayers |
|
| 61 | - * @param Group $players |
|
| 62 | - * @param CustomSpeedWidget $customSpeedWidget |
|
| 63 | - * @param CustomSmSpeedWidget $customSpeedWidget |
|
| 60 | + * @param string[] $allPlayers |
|
| 61 | + * @param string $players |
|
| 62 | + * @param WidgetFactory[] $customSpeedWidget |
|
| 63 | + * @param WidgetFactory[] $customSpeedWidget |
|
| 64 | 64 | * @param CustomCheckpointWidget $customCheckpointWidget |
| 65 | 65 | * @param CustomScoreboardWidget $customScoreboardWidget |
| 66 | 66 | * @param GameDataStorage $gameDataStorage |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | public function parseCountryFromPath($path) |
| 76 | 76 | { |
| 77 | 77 | $parts = explode("|", $path); |
| 78 | - if (count($parts)>= 2) { |
|
| 78 | + if (count($parts) >= 2) { |
|
| 79 | 79 | return $parts[2]; |
| 80 | 80 | } |
| 81 | 81 | |