@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace eXpansion\Bundle\Maps\Plugins\Gui; |
| 4 | 4 | |
| 5 | -use eXpansion\Bundle\Maps\Plugins\Jukebox; |
|
| 6 | 5 | use eXpansion\Bundle\Maps\Plugins\ManiaExchange; |
| 7 | 6 | use eXpansion\Bundle\Maps\Structure\MxInfo; |
| 8 | 7 | use eXpansion\Framework\Core\Helpers\Http; |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | */ |
| 172 | 172 | private function convertMap($map) |
| 173 | 173 | { |
| 174 | - $outMap = (array)$map; |
|
| 174 | + $outMap = (array) $map; |
|
| 175 | 175 | $outMap["mapUid"] = $map->uId; |
| 176 | 176 | |
| 177 | 177 | return $outMap; |
@@ -129,8 +129,8 @@ |
||
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | 131 | * @param Player $player |
| 132 | - * @param $text |
|
| 133 | - * @param $color |
|
| 132 | + * @param string $text |
|
| 133 | + * @param string $color |
|
| 134 | 134 | * @param null $group |
| 135 | 135 | */ |
| 136 | 136 | private function sendChat(Player $player, $text, $color, $group = null) |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use eXpansion\Framework\PlayersBundle\Model\PlayerQueryBuilder; |
| 14 | 14 | use Maniaplanet\DedicatedServer\Connection; |
| 15 | 15 | use Propel\Runtime\Propel; |
| 16 | - |
|
| 17 | 16 | use Symfony\Component\Console\Command\Command; |
| 18 | 17 | use Symfony\Component\Console\Helper\ProgressBar; |
| 19 | 18 | use Symfony\Component\Console\Input\InputArgument; |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | - * @return mixed |
|
| 147 | + * @return double |
|
| 148 | 148 | */ |
| 149 | 149 | public function getWidth() |
| 150 | 150 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | - * @return mixed |
|
| 166 | + * @return double |
|
| 167 | 167 | */ |
| 168 | 168 | public function getHeight() |
| 169 | 169 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | - * @return mixed |
|
| 185 | + * @return string |
|
| 186 | 186 | */ |
| 187 | 187 | public function getAction() |
| 188 | 188 | { |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | /** |
| 204 | - * @return mixed |
|
| 204 | + * @return string |
|
| 205 | 205 | */ |
| 206 | 206 | public function getId() |
| 207 | 207 | { |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |
| 212 | - * @param mixed $id |
|
| 212 | + * @param string $id |
|
| 213 | 213 | * @return WidgetBackground |
| 214 | 214 | */ |
| 215 | 215 | public function setId($id) |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @param abstractUiElement|Control $control |
|
| 27 | + * @param uiButton $control |
|
| 28 | 28 | * @param string $text |
| 29 | 29 | */ |
| 30 | 30 | public function addTooltip($control, $text) |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | public function execute($login, InputInterface $input) |
| 49 | 49 | { |
| 50 | 50 | |
| 51 | - for ($x=0; $x < 200; $x++) { |
|
| 51 | + for ($x = 0; $x < 200; $x++) { |
|
| 52 | 52 | $this->connection->connectFakePlayer(false); |
| 53 | 53 | } |
| 54 | 54 | |