Completed
Push — master ( bf34f3...88111b )
by Michael
03:08
created
include/projax/classes/Scriptaculous.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
     /**
249 249
      * @param $field_id
250 250
      * @param $options
251
-     * @return mixed
251
+     * @return string
252 252
      */
253 253
     public function auto_complete_field($field_id, $options)
254 254
     {
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 }
326 326
 
327 327
 /**
328
- * @param              $key
328
+ * @param              string $key
329 329
  * @param  bool        $moduleName
330 330
  * @param  string      $default
331 331
  * @return null|string
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
 
388 388
 /**
389 389
  * Thanks to the NewBB2 Development Team
390
- * @param $target
390
+ * @param string $target
391 391
  * @return bool
392 392
  */
393 393
 function smart_admin_mkdir($target)
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
 
541 541
 /**
542 542
  * @param $dirname
543
- * @return bool
543
+ * @return boolean|null
544 544
  */
545 545
 function smart_deleteFile($dirname)
546 546
 {
@@ -755,7 +755,7 @@  discard block
 block discarded – undo
755 755
 }
756 756
 
757 757
 /**
758
- * @param $name
758
+ * @param string $name
759 759
  */
760 760
 function smart_close_collapsable($name)
761 761
 {
@@ -765,7 +765,7 @@  discard block
 block discarded – undo
765 765
 }
766 766
 
767 767
 /**
768
- * @param     $name
768
+ * @param     string $name
769 769
  * @param     $value
770 770
  * @param int $time
771 771
  */
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
 }
780 780
 
781 781
 /**
782
- * @param         $name
782
+ * @param         string $name
783 783
  * @param  string $default
784 784
  * @return string
785 785
  */
@@ -938,7 +938,7 @@  discard block
 block discarded – undo
938 938
 }
939 939
 
940 940
 /**
941
- * @param $src
941
+ * @param string $src
942 942
  */
943 943
 function smart_addScript($src)
944 944
 {
@@ -1115,8 +1115,8 @@  discard block
 block discarded – undo
1115 1115
 }
1116 1116
 
1117 1117
 /**
1118
- * @param $module
1119
- * @param $file
1118
+ * @param string $module
1119
+ * @param string $file
1120 1120
  */
1121 1121
 function smart_loadLanguageFile($module, $file)
1122 1122
 {
@@ -1232,7 +1232,7 @@  discard block
 block discarded – undo
1232 1232
  * This function should be able to cover almost all floats that appear in an european environment.
1233 1233
  * @param            $str
1234 1234
  * @param  bool      $set
1235
- * @return float|int
1235
+ * @return double
1236 1236
  */
1237 1237
 function smart_getfloat($str, $set = false)
1238 1238
 {
@@ -1267,7 +1267,7 @@  discard block
 block discarded – undo
1267 1267
 /**
1268 1268
  * @param                         $var
1269 1269
  * @param  bool                   $currencyObj
1270
- * @return float|int|mixed|string
1270
+ * @return string
1271 1271
  */
1272 1272
 function smart_currency($var, $currencyObj = false)
1273 1273
 {
@@ -1295,7 +1295,7 @@  discard block
 block discarded – undo
1295 1295
 
1296 1296
 /**
1297 1297
  * @param $var
1298
- * @return float|int|mixed|string
1298
+ * @return string
1299 1299
  */
1300 1300
 function smart_float($var)
1301 1301
 {
@@ -1343,7 +1343,7 @@  discard block
 block discarded – undo
1343 1343
 /**
1344 1344
  * @param $moduleName
1345 1345
  * @param $items
1346
- * @return array
1346
+ * @return string[]
1347 1347
  */
1348 1348
 function smart_getTablesArray($moduleName, $items)
1349 1349
 {
Please login to merge, or discard this patch.
include/projax_/classes/Scriptaculous.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
     /**
249 249
      * @param $field_id
250 250
      * @param $options
251
-     * @return mixed
251
+     * @return string
252 252
      */
253 253
     public function auto_complete_field($field_id, $options)
254 254
     {
Please login to merge, or discard this patch.
include/projax/classes/JavaScript.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param $javascript
30
-     * @return mixed|string
30
+     * @return string
31 31
      */
32 32
     public function escape($javascript)
33 33
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * @param         $name
51
-     * @param         $function
51
+     * @param         string $function
52 52
      * @param  null   $html_options
53 53
      * @return string
54 54
      */
Please login to merge, or discard this patch.
include/projax/classes/Prototype.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     }
213 213
 
214 214
     /**
215
-     * @param         $klass
215
+     * @param         string $klass
216 216
      * @param         $name
217 217
      * @param  null   $options
218 218
      * @return string
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
     }
312 312
 
313 313
     /**
314
-     * @param $variable
314
+     * @param string $variable
315 315
      * @param $value
316 316
      * @return string
317 317
      */
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     }
322 322
 
323 323
     /**
324
-     * @param         $function
324
+     * @param         string $function
325 325
      * @param  null   $args
326 326
      * @return string
327 327
      */
Please login to merge, or discard this patch.
include/projax_/classes/JavaScript.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param $javascript
30
-     * @return mixed|string
30
+     * @return string
31 31
      */
32 32
     public function escape($javascript)
33 33
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * @param         $name
51
-     * @param         $function
51
+     * @param         string $function
52 52
      * @param  null   $html_options
53 53
      * @return string
54 54
      */
Please login to merge, or discard this patch.
include/projax_/classes/Prototype.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     }
213 213
 
214 214
     /**
215
-     * @param         $klass
215
+     * @param         string $klass
216 216
      * @param         $name
217 217
      * @param  null   $options
218 218
      * @return string
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
     }
312 312
 
313 313
     /**
314
-     * @param $variable
314
+     * @param string $variable
315 315
      * @param $value
316 316
      * @return string
317 317
      */
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     }
322 322
 
323 323
     /**
324
-     * @param         $function
324
+     * @param         string $function
325 325
      * @param  null   $args
326 326
      * @return string
327 327
      */
Please login to merge, or discard this patch.
class/BaseSmartObject.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @param        $key
179
+     * @param        string $key
180 180
      * @param        $data_type
181 181
      * @param bool   $itemName
182 182
      * @param string $form_caption
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      * @param bool   $required     set to TRUE if this variable needs to have a value set before storing the object in the table
213 213
      * @param string $form_caption caption of this variable in a {@link SmartobjectForm} and title of a column in a  {@link SmartObjectTable}
214 214
      * @param string $form_dsc     description of this variable in a {@link SmartobjectForm}
215
-     * @param mixed  $value        default value of this variable
215
+     * @param string|false  $value        default value of this variable
216 216
      */
217 217
     public function quickInitVar(
218 218
         $key,
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     }
228 228
 
229 229
     /**
230
-     * @param        $varname
230
+     * @param        string $varname
231 231
      * @param bool   $displayOnForm
232 232
      * @param string $default
233 233
      */
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
     /**
490 490
      * add an error
491 491
      *
492
-     * @param      $err_str
492
+     * @param      string $err_str
493 493
      * @param bool $prefix
494 494
      * @internal param string $value error to add
495 495
      * @access   public
@@ -751,8 +751,8 @@  discard block
 block discarded – undo
751 751
 
752 752
     /**
753 753
      * @param $key
754
-     * @param $info
755
-     * @param $value
754
+     * @param string $info
755
+     * @param boolean $value
756 756
      */
757 757
     public function setVarInfo($key, $info, $value)
758 758
     {
@@ -760,7 +760,7 @@  discard block
 block discarded – undo
760 760
     }
761 761
 
762 762
     /**
763
-     * @param         $key
763
+     * @param         string $key
764 764
      * @param  bool   $editor
765 765
      * @return string
766 766
      */
@@ -939,7 +939,7 @@  discard block
 block discarded – undo
939 939
      * @access public
940 940
      * @param  string $key    key of the object's variable to be returned
941 941
      * @param  string $format format to use for the output
942
-     * @return mixed  formatted value of the variable
942
+     * @return string  formatted value of the variable
943 943
      */
944 944
     public function getVar($key, $format = 's')
945 945
     {
@@ -1249,7 +1249,7 @@  discard block
 block discarded – undo
1249 1249
     }
1250 1250
 
1251 1251
     /**
1252
-     * @param $key
1252
+     * @param string $key
1253 1253
      */
1254 1254
     public function hideFieldFromForm($key)
1255 1255
     {
Please login to merge, or discard this patch.
class/Form/Elements/SmartFormUploadElement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 class SmartFormUploadElement extends \XoopsFormFile
20 20
 {
21 21
     /**
22
-     * @param $object
23
-     * @param $key
22
+     * @param string $object
23
+     * @param string $key
24 24
      */
25 25
     public function SmartFormFileElement($object, $key)
26 26
     {
Please login to merge, or discard this patch.