Completed
Pull Request — master (#161)
by De Cramer
02:59
created
src/eXpansion/Bundle/Maps/Plugins/Gui/ManiaExchangeWindowFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Maps/Plugins/ManiaExchange.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/eXpansion/Bundle/CustomChat/Plugins/CustomChat.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,8 +129,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Command/GenRecordsCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Builders/WidgetBackground.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiTooltip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Acme/ChatCommand/Connect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.