Completed
Push — master ( 470825...143e87 )
by Joram van den
06:11
created
lib/Ajde/Template/Parser/Phtml/Helper.php 1 patch
Doc Comments   -10 removed lines patch added patch discarded remove patch
@@ -139,8 +139,6 @@  discard block
 block discarded – undo
139 139
 
140 140
     /**
141 141
      *
142
-     * @param string $name
143
-     * @param string $version
144 142
      * @return void
145 143
      */
146 144
     public function requireGWebFont($family, $weight = [400], $subset = ['latin'])
@@ -272,7 +270,6 @@  discard block
 block discarded – undo
272 270
 
273 271
     /**
274 272
      *
275
-     * @param string $target
276 273
      * @return string
277 274
      */
278 275
     public function ACAjaxUpload($name, $options = [], $id = null, $class = null)
@@ -283,8 +280,6 @@  discard block
 block discarded – undo
283 280
 
284 281
     /**
285 282
      *
286
-     * @param string $route
287
-     * @param mixed  $id
288 283
      * @return string
289 284
      */
290 285
     public function ACEmbedForm($formId)
@@ -298,7 +293,6 @@  discard block
 block discarded – undo
298 293
 
299 294
     /**
300 295
      *
301
-     * @param string $target
302 296
      * @return string
303 297
      */
304 298
     public function ACImage($attributes)
@@ -308,7 +302,6 @@  discard block
 block discarded – undo
308 302
 
309 303
     /**
310 304
      *
311
-     * @param string $target
312 305
      * @return string
313 306
      */
314 307
     public function ACLazyImage($attributes)
@@ -322,7 +315,6 @@  discard block
 block discarded – undo
322 315
 
323 316
     /**
324 317
      *
325
-     * @param string $target
326 318
      * @return string
327 319
      */
328 320
     public function ACQrcode($attributes)
@@ -336,7 +328,6 @@  discard block
 block discarded – undo
336 328
 
337 329
     /**
338 330
      *
339
-     * @param string $target
340 331
      * @return string
341 332
      */
342 333
     public function ACMarkdown($attributes)
@@ -418,7 +409,6 @@  discard block
 block discarded – undo
418 409
 
419 410
     /**
420 411
      *
421
-     * @param mixed $model
422 412
      * @return string
423 413
      */
424 414
     public function ACString($var)
Please login to merge, or discard this patch.
lib/Ajde/Resource/Local.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -133,6 +133,12 @@
 block discarded – undo
133 133
         return $this->_filename;
134 134
     }
135 135
 
136
+    /**
137
+     * @param string $base
138
+     * @param string $type
139
+     * @param string $action
140
+     * @param string $format
141
+     */
136 142
     public static function getFilenameFromStatic($base, $type, $action, $format)
137 143
     {
138 144
         return self::_getFilename($base, $type, $action, $format);
Please login to merge, or discard this patch.
lib/Ajde/Lang.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -209,6 +209,10 @@
 block discarded – undo
209 209
         $this->setLang($this->detect());
210 210
     }
211 211
 
212
+    /**
213
+     * @param string $ident
214
+     * @param string $module
215
+     */
212 216
     public static function trans($ident, $module = null)
213 217
     {
214 218
         return self::getInstance()->translate($ident, $module);
Please login to merge, or discard this patch.
lib/Ajde/Resource.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
         return base64_decode($string);
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $string
54
+     */
52 55
     public static function _urlEncode($string)
53 56
     {
54 57
         return base64_encode($string);
@@ -82,6 +85,9 @@  discard block
 block discarded – undo
82 85
         return $this->get('type');
83 86
     }
84 87
 
88
+    /**
89
+     * @param integer $position
90
+     */
85 91
     public function setPosition($position)
86 92
     {
87 93
         $this->set('position', $position);
Please login to merge, or discard this patch.
core/modules/admin/AdminController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
      * Optional function called before controller is invoked
9 9
      * When returning false, invocation is cancelled.
10 10
      *
11
-     * @return bool
11
+     * @return null|boolean
12 12
      */
13 13
     public function beforeInvoke($allowed = [])
14 14
     {
Please login to merge, or discard this patch.
lib/Ajde/Crud/Options/List.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Set fieldname to set as main column in listview.
39 39
      *
40
-     * @param string $main
41 40
      *
41
+     * @param string $fieldname
42 42
      * @return Ajde_Crud_Options_List
43 43
      */
44 44
     public function setMain($fieldname)
@@ -97,7 +97,6 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Enables the export button.
99 99
      *
100
-     * @param bool $show
101 100
      *
102 101
      * @return Ajde_Crud_Options_List
103 102
      */
@@ -133,7 +132,7 @@  discard block
 block discarded – undo
133 132
     /**
134 133
      * Sets which fields to show.
135 134
      *
136
-     * @param array $fields
135
+     * @param string[] $fields
137 136
      *
138 137
      * @return Ajde_Crud_Options_List
139 138
      */
@@ -145,7 +144,6 @@  discard block
 block discarded – undo
145 144
     /**
146 145
      * Sets a function which generates the row class.
147 146
      *
148
-     * @param array $fields
149 147
      *
150 148
      * @return Ajde_Crud_Options_List
151 149
      */
@@ -169,8 +167,8 @@  discard block
 block discarded – undo
169 167
     /**
170 168
      * Sets thumbnail dimensions of images.
171 169
      *
172
-     * @param type $width
173
-     * @param type $height
170
+     * @param integer $width
171
+     * @param integer $height
174 172
      *
175 173
      * @return Ajde_Crud_Options_List
176 174
      */
Please login to merge, or discard this patch.
lib/Ajde/Crud/Options/List/Buttons.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Adds a custom button for every item in the list.
95 95
      *
96
-     * @param name   $name       Identifier of the button
97
-     * @param text   $text       Text to display
96
+     * @param string   $name       Identifier of the button
97
+     * @param string   $text       Text to display
98 98
      * @param string $class      Optional classname to add
99 99
      * @param bool   $persistent Don't fold button
100 100
      * @param bool   $function   Call model function defined in $text (return false to omit button)
@@ -123,8 +123,6 @@  discard block
 block discarded – undo
123 123
      * Adds a custom button for every item in the list.
124 124
      *
125 125
      * @param name $name  Identifier of the button
126
-     * @param text $text  Text to display
127
-     * @param type $class Optional classname to add
128 126
      *
129 127
      * @return Ajde_Crud_Options_List_Buttons
130 128
      */
Please login to merge, or discard this patch.
lib/Ajde/Exception/Handler.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param Throwable $exception
39
+     * @param Exception $exception
40 40
      */
41 41
     public static function handler($exception)
42 42
     {
@@ -289,6 +289,9 @@  discard block
 block discarded – undo
289 289
 
290 290
     public static $firstApplicationFileExpanded = false;
291 291
 
292
+    /**
293
+     * @param string $arguments
294
+     */
292 295
     protected static function embedScript($filename = null, $line = null, $arguments = null, $expand = false)
293 296
     {
294 297
         $lineOffset = 5;
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.smtp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -857,7 +857,7 @@
 block discarded – undo
857 857
     /**
858 858
      * Get the latest error.
859 859
      *
860
-     * @return array
860
+     * @return string
861 861
      */
862 862
     public function getError()
863 863
     {
Please login to merge, or discard this patch.