Completed
Pull Request — master (#91)
by De Cramer
02:33
created
src/eXpansion/Framework/Core/Model/Gui/Factory/LineFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function create($totalWidth, $columns, $index = 0, $height = 5.0, $autoNewLine = false, $maxLines = 1)
59 59
     {
60 60
         $totalCoef
61
-            = ($totalWidth - 1) / array_reduce($columns, function ($carry, $item) {
61
+            = ($totalWidth - 1) / array_reduce($columns, function($carry, $item) {
62 62
                 return $carry + $item['width'];
63 63
             });
64 64
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Plugins/Gui/WindowHelpDetailsFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
         /** @var AbstractChatCommand $command */
70 70
         $command = $manialink->getData('command');
71 71
 
72
-        $column1Width = $manialink->getContentFrame()->getWidth() * (2/3);
73
-        $column2Width = $manialink->getContentFrame()->getWidth() * (1/3) - 1;
72
+        $column1Width = $manialink->getContentFrame()->getWidth() * (2 / 3);
73
+        $column2Width = $manialink->getContentFrame()->getWidth() * (1 / 3) - 1;
74 74
 
75 75
         /*
76 76
          * COLUMN 1 Description of the chat command
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             $column1Width - 21,
125 125
             [
126 126
                 [
127
-                    'text' => "Use '/" . $this->currentCommand->getCommand() . " -h' to get help on the usage of the command.",
127
+                    'text' => "Use '/".$this->currentCommand->getCommand()." -h' to get help on the usage of the command.",
128 128
                     'width' => 1,
129 129
                     'translatable' => false
130 130
 
Please login to merge, or discard this patch.