Completed
Push — dev ( 51753e...214409 )
by De Cramer
02:51
created
src/eXpansion/Framework/Core/Storage/Data/Player.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@
 block discarded – undo
500 500
     }
501 501
 
502 502
     /**
503
-     * @param \Maniaplanet\DedicatedServer\Structures\Player|array $data
503
+     * @param \Maniaplanet\DedicatedServer\Structures\PlayerInfo $data
504 504
      *
505 505
      * @return $this
506 506
      */
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/ManiaScriptFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         $className = $this->className;
51 51
 
52
-        $filePath = $this->fileLocator->locate('@' . $this->relativePath);
52
+        $filePath = $this->fileLocator->locate('@'.$this->relativePath);
53 53
 
54 54
         return new $className($filePath, $params);
55 55
     }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/JoinLeaveMessages/Plugins/JoinLeaveMessages.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@
 block discarded – undo
67 67
             "expansion_join_leave_messages.disconnect",
68 68
             null,
69 69
             ["%nickname%" => $player->getNickName(),
70
-             "%login%" => $player->getLogin()
71
-             ]);
70
+                "%login%" => $player->getLogin()
71
+                ]);
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Helpers/Translations.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
         $this->supportedLocales = $supportedLocales;
40 40
 
41 41
         foreach ($colorCodes as $code => $colorCode) {
42
-            $this->replacementPatterns["{" . $code . "}"] = '$z' . $colorCode;
42
+            $this->replacementPatterns["{".$code."}"] = '$z'.$colorCode;
43 43
         }
44 44
 
45 45
         foreach ($glyphIcons as $name => $icon) {
46
-            $this->replacementPatterns["|" . $name . "|"] = $icon;
46
+            $this->replacementPatterns["|".$name."|"] = $icon;
47 47
         }
48 48
     }
49 49
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     public function getTranslations($id, $parameters = [])
79 79
     {
80 80
         $messages = [];
81
-       // $parameters = array_merge($this->replacementPatterns, $parameters);
81
+        // $parameters = array_merge($this->replacementPatterns, $parameters);
82 82
 
83 83
         foreach ($this->supportedLocales as $locale) {
84 84
             $message = $this->getTranslation($id, $parameters, $locale);
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Factory/LineFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Create a multi column line.
47 47
      *
48
-     * @param $totalWidth
48
+     * @param double $totalWidth
49 49
      * @param $columns
50 50
      *
51 51
      * @return Frame
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Widget.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Recursive search all dome tree in order to find all translatable labels.
177 177
      *
178
-     * @param $frame
178
+     * @param \FML\ManiaLink $frame
179 179
      * @param $translations
180 180
      */
181 181
     protected function getDictionaryInformation($frame, &$translations)
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
      *
306 306
      * @param Format $format New Format
307 307
      *
308
-     * @return static
308
+     * @return Frame
309 309
      * @deprecated Use Style
310 310
      * @see        Style
311 311
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace eXpansion\Framework\Core\Model\Gui;
4 4
 
5
-use eXpansion\Framework\Core\Exceptions\Gui\MissingCloseActionException;
6 5
 use eXpansion\Framework\Core\Helpers\Translations;
7 6
 use eXpansion\Framework\Core\Model\UserGroups\Group;
8 7
 use FML\Controls\Frame;
9 8
 use FML\Controls\Label;
10
-use FML\Controls\Quad;
11
-use FML\Controls\Quads\Quad_Bgs1;
12
-use FML\Controls\Quads\Quad_Bgs1InRace;
13 9
 use FML\Elements\Dico;
14 10
 use FML\Elements\Format;
15 11
 use FML\Types\Container;
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Window.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,7 @@
 block discarded – undo
10 10
 use FML\Controls\Quad;
11 11
 use FML\Controls\Quads\Quad_Bgs1;
12 12
 use FML\Controls\Quads\Quad_Bgs1InRace;
13
-use FML\Elements\Dico;
14
-use FML\Elements\Format;
15 13
 use FML\Types\Container;
16
-use FML\Types\Renderable;
17 14
 
18 15
 class Window extends Widget implements Container
19 16
 {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Grid/DataCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Get the number of the last page.
76 76
      *
77
-     * @return int
77
+     * @return double
78 78
      */
79 79
     public function getLastPageNumber()
80 80
     {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Grid/GridBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      * @param string $name
165 165
      * @param integer $widthCoefficiency
166 166
      * @param $action
167
-     * @param Label $renderer
167
+     * @param \FML\Controls\Label $renderer
168 168
      */
169 169
     public function addActionColumn($key, $name, $widthCoefficiency, $action, $renderer)
170 170
     {
Please login to merge, or discard this patch.