Completed
Pull Request — master (#51)
by De Cramer
02:42
created
src/eXpansion/Framework/Core/Helpers/Data/ArrayFilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@
 block discarded – undo
58 58
     /**
59 59
      * Check if value respects condition.
60 60
      *
61
-     * @param $value
61
+     * @param string $value
62 62
      * @param $condition
63 63
      *
64
-     * @return bool
64
+     * @return boolean|null
65 65
      * @throws InvalidFilterTypeException
66 66
      */
67 67
     protected function checkValue($value, $condition) {
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
      * TODO Handle more options such as pregenerated buttons and such instead of text.
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/Grid/DataCollection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param mixed  $lineData
65 65
      * @param string $key
66 66
      *
67
-     * @return mixed
67
+     * @return string
68 68
      */
69 69
     public function getLineData($lineData, $key)
70 70
     {
@@ -74,7 +74,7 @@  discard block
 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/DataCollectionInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param mixed  $lineData
26 26
      * @param string $key
27 27
      *
28
-     * @return mixed
28
+     * @return string
29 29
      */
30 30
     public function getLineData($lineData, $key);
31 31
 
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Plugins/Gui/ManialinkFactory.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -116,6 +116,7 @@
 block discarded – undo
116 116
 
117 117
     /**
118 118
      * @inheritdoc
119
+     * @param Group $group
119 120
      */
120 121
     final public function update($group)
121 122
     {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Grid/GridBuilder.php 1 patch
Doc Comments   +12 added lines, -8 removed lines patch added patch discarded remove patch
@@ -145,9 +145,9 @@  discard block
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @param      $key
149
-     * @param      $name
150
-     * @param      $widthCoefficiency
148
+     * @param      string $key
149
+     * @param      string $name
150
+     * @param      integer $widthCoefficiency
151 151
      * @param bool $sortable
152 152
      * @param bool $translatable
153 153
      *
@@ -163,11 +163,11 @@  discard block
 block discarded – undo
163 163
     /**
164 164
      * Add an action into a column.
165 165
      *
166
-     * @param $key
167
-     * @param $name
168
-     * @param $widthCoefficiency
166
+     * @param string $key
167
+     * @param string $name
168
+     * @param integer $widthCoefficiency
169 169
      * @param $action
170
-     * @param $renderer
170
+     * @param Label $renderer
171 171
      */
172 172
     public function addActionColumn($key, $name, $widthCoefficiency, $action, $renderer)
173 173
     {
@@ -183,6 +183,10 @@  discard block
 block discarded – undo
183 183
         $this->totalWidthCoefficency = 0;
184 184
     }
185 185
 
186
+    /**
187
+     * @param double $width
188
+     * @param double $height
189
+     */
186 190
     public function build($width, $height)
187 191
     {
188 192
         foreach ($this->temporaryActions as $action) {
@@ -296,7 +300,7 @@  discard block
 block discarded – undo
296 300
     /**
297 301
      * Handle page change & refresh user window.
298 302
      *
299
-     * @param $page
303
+     * @param integer $page
300 304
      */
301 305
     protected function changePage($page)
302 306
     {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Model/Gui/Window.php 1 patch
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.