Completed
Pull Request — master (#304)
by
unknown
04:02
created
src/eXpansion/Framework/Gui/Builders/uiBuilder.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use eXpansion\Framework\Core\Model\Gui\ManialinkInterface;
12 12
 use eXpansion\Framework\Core\Plugins\Gui\ActionFactory;
13 13
 use eXpansion\Framework\Gui\Components\Button;
14
-use eXpansion\Framework\Gui\Components\Label as uiLAbel;
15 14
 use eXpansion\Framework\Gui\Ui\Factory;
16 15
 use FML\Controls\Frame;
17 16
 use FML\Controls\Label;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         }
110 110
     }
111 111
 
112
+    /**
113
+     * @return null|\DOMNode
114
+     */
112 115
     private function castTagToMethod($tag, \DOMNode $node)
113 116
     {
114 117
         if (substr($tag, 0, 2) == "ui") {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Layouts/LayoutRow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
      */
134 134
     public function setMargin($margin)
135 135
     {
136
-        $this->margin = (float)$margin;
136
+        $this->margin = (float) $margin;
137 137
     }
138 138
 
139 139
 
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Acme/Plugins/Gui/TotoWindowFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
         $manialink->setData('playerActions', []);
117 117
         $manialink->setData('mapUid', $this->mapStorage->getCurrentMap()->uId);
118 118
 
119
-        $frame = Frame::create();;
119
+        $frame = Frame::create(); ;
120 120
         $frame->setPosition(75, 0);
121 121
         $manialink->setData("playerFrame", $frame);
122 122
         $manialink->addChild($frame);
Please login to merge, or discard this patch.