Completed
Pull Request — master (#95)
by
unknown
02:41
created
src/eXpansion/Framework/Gui/Layouts/layoutLine.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * layoutLine constructor.
31
-     * @param $startX
32
-     * @param $startY
31
+     * @param integer $startX
32
+     * @param integer $startY
33 33
      * @param Control[] $elements
34 34
      * @param $margin
35 35
      * @throws \Exception
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @return mixed
114
+     * @return integer
115 115
      */
116 116
     public function getX()
117 117
     {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @return mixed
122
+     * @return integer
123 123
      */
124 124
     public function getY()
125 125
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-     * @return float
130
+     * @return integer
131 131
      */
132 132
     public function getWidth()
133 133
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @return float
146
+     * @return integer
147 147
      */
148 148
     public function getHeight()
149 149
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use FML\Controls\Control;
6 6
 use FML\Controls\Frame;
7 7
 use FML\Script\Features\ScriptFeature;
8
-use FML\Types\Container;
9 8
 use FML\Types\Renderable;
10 9
 use FML\Types\ScriptFeatureable;
11 10
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Layouts/layoutRow.php 2 patches
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * layoutLine constructor.
32
-     * @param $startX
33
-     * @param $startY
32
+     * @param integer $startX
33
+     * @param integer $startY
34 34
      * @param Control[] $elements
35 35
      * @param int $margin
36 36
      * @throws \Exception
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @return float
132
+     * @return integer
133 133
      */
134 134
     public function getHeight()
135 135
     {
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
         return $this->width;
164 164
     }
165 165
 
166
+    /**
167
+     * @param \eXpansion\Framework\Gui\Components\uiCheckbox $element
168
+     */
166 169
     public function addElement($element)
167 170
     {
168 171
         $this->elements[] = $element;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use FML\Controls\Control;
6 6
 use FML\Controls\Frame;
7 7
 use FML\Script\Features\ScriptFeature;
8
-use FML\Types\Container;
9 8
 use FML\Types\Renderable;
10 9
 use FML\Types\ScriptFeatureable;
11 10
 
Please login to merge, or discard this patch.