Completed
Pull Request — master (#270)
by
unknown
03:25
created
src/eXpansion/Framework/Gui/Components/Scrollbar.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * @param string $axis
33 33
      * @param float  $posX
34 34
      * @param float  $posY
35
-     * @param        $scrollbarSize
35
+     * @param        integer $scrollbarSize
36 36
      * @param float  $length
37 37
      */
38 38
     public function __construct($axis, $posX, $posY, $scrollbarSize, $length)
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Layouts/LayoutScrollable.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
         $script->addCustomScriptLabel(ScriptLabel::Loop, $this->getScriptLoop());
143 143
     }
144 144
 
145
+    /**
146
+     * @return string|null
147
+     */
145 148
     protected function getScriptInit()
146 149
     {
147 150
         $offset = number_format($this->offset, 1, ".", "");
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/Dropdown.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 
178 178
         $labelMark = new Label("⏷");
179 179
         $labelMark->setAlign("right", "center");
180
-        $labelMark->setPosition($this->width -0.5, -($this->height / 2));
180
+        $labelMark->setPosition($this->width - 0.5, -($this->height / 2));
181 181
         $labelMark->setTextColor("fff");
182 182
         $labelMark->setZ(2);
183 183
         $labelMark->setSize(5, 4);
Please login to merge, or discard this patch.