Completed
Pull Request — master (#80)
by De Cramer
02:23
created
src/eXpansion/Bundle/Maps/Plugins/Maps.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @return array
65
+     * @return Map[]
66 66
      */
67 67
     public function getMaps()
68 68
     {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/MxKarma/Plugins/Connection.php 3 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -249,7 +249,6 @@  discard block
 block discarded – undo
249 249
     }
250 250
 
251 251
     /**
252
-     * @param object $object
253 252
      */
254 253
     public function handleErrors($obj)
255 254
     {
@@ -340,7 +339,7 @@  discard block
 block discarded – undo
340 339
     }
341 340
 
342 341
     /**
343
-     * @param $url
342
+     * @param string $url
344 343
      * @param callable $callback
345 344
      */
346 345
     public function httpGet($url, callable $callback)
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         if ($data->activated) {
126 126
             $this->connected = true;
127
-           //  Dispatcher::dispatch(new MXKarmaEvent(MXKarmaEvent::ON_CONNECTED));
127
+            //  Dispatcher::dispatch(new MXKarmaEvent(MXKarmaEvent::ON_CONNECTED));
128 128
         }
129 129
     }
130 130
 
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
             return;
193 193
         }
194 194
 
195
-      //  Dispatcher::dispatch(new MXKarmaEvent(MXKarmaEvent::ON_VOTE_SAVE, $data->updated));
195
+        //  Dispatcher::dispatch(new MXKarmaEvent(MXKarmaEvent::ON_VOTE_SAVE, $data->updated));
196 196
     }
197 197
 
198 198
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
      */
239 239
     public function getObject($data)
240 240
     {
241
-        $obj = (object)json_decode($data);
241
+        $obj = (object) json_decode($data);
242 242
         if ($obj->success === false) {
243 243
             $this->handleErrors($obj);
244 244
 
Please login to merge, or discard this patch.
src/eXpansion/Bundle/MxKarma/Plugins/MxKarma.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         Dispatcher $dispatcher
48 48
     ) {
49 49
 
50
-        $this->config = (object)Yaml::parse(file_get_contents('./app/config/plugins/mxkarma.yml'))['parameters'];
50
+        $this->config = (object) Yaml::parse(file_get_contents('./app/config/plugins/mxkarma.yml'))['parameters'];
51 51
         $this->console = $console;
52 52
         $this->dispatcher = $dispatcher;
53 53
         $this->chatNotification = $chatNotification;
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Acme/Plugins/TotoPlugin.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace eXpansion\Bundle\Acme\Plugins;
4 4
 
5
-use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceMpLegacyChat;
6 5
 use eXpansion\Framework\Core\Model\UserGroups\Group;
7 6
 use eXpansion\Framework\Core\Plugins\Gui\ManialinkFactory;
8 7
 use eXpansion\Framework\Core\Plugins\StatusAwarePluginInterface;
9 8
 use eXpansion\Framework\Core\Services\Console;
10
-use eXpansion\Framework\Core\Storage\Data\Player;
11 9
 
12 10
 /**
13 11
  * TotoPlugin is a test plugin to be removed.
Please login to merge, or discard this patch.
GameManiaplanet/DataProviders/Listener/ListenerInterfaceMpScriptMatch.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -92,14 +92,14 @@
 block discarded – undo
92 92
      */
93 93
     public function onEndTurnEnd($count, $time);
94 94
 
95
-     /**
96
-     * Callback sent when the "StartRound" section start.
97
-     *
98
-     * @param int $count Each time this section is played, this number is incremented by one
99
-     * @param int $time  Server time when the callback was sent
100
-     *
101
-     * @return mixed
102
-     */
95
+        /**
96
+         * Callback sent when the "StartRound" section start.
97
+         *
98
+         * @param int $count Each time this section is played, this number is incremented by one
99
+         * @param int $time  Server time when the callback was sent
100
+         *
101
+         * @return mixed
102
+         */
103 103
     public function onStartRoundStart($count, $time);
104 104
 
105 105
     /**
Please login to merge, or discard this patch.