Completed
Pull Request — master (#193)
by De Cramer
20:09
created
src/eXpansion/Framework/Gui/Components/uiLabel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         return parent::render($domDocument);
67 67
     }
68 68
 
69
+    /**
70
+     * @param boolean $translate
71
+     */
69 72
     public function setTranslate($translate)
70 73
     {
71 74
         if ($translate) {
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Layouts/layoutLine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @return mixed
145
+     * @return double
146 146
      */
147 147
     public function getY()
148 148
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @param object $element
185
+     * @param Renderable $element
186 186
      */
187 187
     public function addChild(Renderable $element)
188 188
     {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Menu/DataProviders/MenuItemProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @return ParentItem|null
50
+     * @return ItemInterface|null
51 51
      */
52 52
     public function getRootItem()
53 53
     {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Menu/Plugins/Gui/MenuContentFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      * Create tabs level menu.
177 177
      *
178 178
      * @param ManialinkInterface $manialink
179
-     * @param ParentItem $rootItem
179
+     * @param ItemInterface|null $rootItem
180 180
      * @param                    $openId
181 181
      */
182 182
     protected function createTabsMenu(ManialinkInterface $manialink, ParentItem $rootItem, $openId)
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      * @param Manialink $manialink
195 195
      * @param Frame $frame
196 196
      * @param ParentItem $parentItem
197
-     * @param            $displayLevel
197
+     * @param            integer $displayLevel
198 198
      */
199 199
     protected function createSubMenu(Manialink $manialink, Frame $frame, ParentItem $parentItem, $displayLevel)
200 200
     {
Please login to merge, or discard this patch.
src/eXpansion/Framework/AdminGroups/Helpers/AdminGroups.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         }
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $permission
120
+     */
118 121
     protected function hasLoginPermission($login, $permission)
119 122
     {
120 123
         if ($login instanceof Player) {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/Maps/Plugins/ManiaExchange.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -320,7 +320,7 @@
 block discarded – undo
320 320
     /**
321 321
      * Remove special characters from map name
322 322
      *
323
-     * @param $string
323
+     * @param string $string
324 324
      * @return mixed
325 325
      */
326 326
     protected function cleanString($string)
Please login to merge, or discard this patch.
src/eXpansion/Bundle/VoteManager/Plugins/Gui/Widget/VoteWidgetFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -169,6 +169,9 @@
 block discarded – undo
169 169
 
170 170
     }
171 171
 
172
+    /**
173
+     * @param string $message
174
+     */
172 175
     public function setMessage($message)
173 176
     {
174 177
         $this->label->setTextId($message);
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Builders/WidgetBackground.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @return mixed
147
+     * @return double
148 148
      */
149 149
     public function getWidth()
150 150
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @return mixed
166
+     * @return double
167 167
      */
168 168
     public function getHeight()
169 169
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @return mixed
185
+     * @return string
186 186
      */
187 187
     public function getAction()
188 188
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     }
202 202
 
203 203
     /**
204
-     * @return mixed
204
+     * @return string
205 205
      */
206 206
     public function getId()
207 207
     {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     }
210 210
 
211 211
     /**
212
-     * @param mixed $id
212
+     * @param string $id
213 213
      * @return WidgetBackground
214 214
      */
215 215
     public function setId($id)
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiInput.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-     * @return float
125
+     * @return integer
126 126
      */
127 127
     public function getWidth()
128 128
     {
Please login to merge, or discard this patch.