Completed
Push — master ( 3189d6...01b1a5 )
by Michael
03:18
created
class/smartobjecthandler.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,10 +132,10 @@  discard block
 block discarded – undo
132 132
      *
133 133
      * @param object|XoopsDatabase $db           {@link XoopsDatabase}
134 134
      *                                           object
135
-     * @param                      $itemname
135
+     * @param                      string $itemname
136 136
      * @param string               $keyname      Name of the table key that uniquely identify each {@link SmartObject}
137 137
      * @param string               $idenfierName Name of the field which properly identify the {@link SmartObject}
138
-     * @param                      $summaryName
138
+     * @param                      string $summaryName
139 139
      * @param                      $modulename
140 140
      * @internal param string $tablename Name of the table use to store this <a href='psi_element://SmartObject'>SmartObject</a>
141 141
      * @internal param Name $string of the class derived from <a href='psi_element://SmartObject'>SmartObject</a> and which this handler is handling and which this handler is handling
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
     /**
193 193
      * @param $criteria
194
-     * @param $perm_name
194
+     * @param boolean $perm_name
195 195
      * @return bool
196 196
      */
197 197
     public function setGrantedObjectsCriteria(&$criteria, $perm_name)
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
     }
376 376
 
377 377
     /**
378
-     * @param       $sql
378
+     * @param       string $sql
379 379
      * @param       $criteria
380 380
      * @param  bool $force
381 381
      * @param  bool $debug
Please login to merge, or discard this patch.
class/smartobjectlink.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * @access public
62 62
      * @param  string $key    key of the object's variable to be returned
63 63
      * @param  string $format format to use for the output
64
-     * @return mixed  formatted value of the variable
64
+     * @return integer  formatted value of the variable
65 65
      */
66 66
     public function getVar($key, $format = 's')
67 67
     {
Please login to merge, or discard this patch.
class/smartobjectpermission.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     /**
34 34
      * @param       $gperm_name
35
-     * @param  null $id
35
+     * @param  integer $id
36 36
      * @return array
37 37
      */
38 38
     public function getGrantedGroups($gperm_name, $id = null)
Please login to merge, or discard this patch.
class/smartobjectsingleview.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * Constructor
78
-     * @param       $object
78
+     * @param       SmartObject $object
79 79
      * @param bool  $userSide
80 80
      * @param array $actions
81 81
      * @param bool  $headerAsRow
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param $rowObj
92
+     * @param SmartObjectRow $rowObj
93 93
      */
94 94
     public function addRow($rowObj)
95 95
     {
Please login to merge, or discard this patch.
class/smartobjectsregistry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Access the only instance of this class
20 20
      *
21
-     * @return object
21
+     * @return SmartObjectsRegistry
22 22
      *
23 23
      * @static
24 24
      * @staticvar   object
Please login to merge, or discard this patch.
class/smartobjecttable.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * SmartObjectColumn constructor.
34
-     * @param        $keyname
34
+     * @param        string $keyname
35 35
      * @param string $align
36 36
      * @param bool   $width
37 37
      * @param bool   $customMethodForValue
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-     * @param $columnObj
186
+     * @param SmartObjectColumn $columnObj
187 187
      */
188 188
     public function addColumn($columnObj)
189 189
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 
193 193
     /**
194 194
      * @param $name
195
-     * @param $location
195
+     * @param string $location
196 196
      * @param $value
197 197
      */
198 198
     public function addIntroButton($name, $location, $value)
Please login to merge, or discard this patch.
include/captcha/scripts/img.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     }
190 190
 
191 191
     /**
192
-     * @param         $name
192
+     * @param         string $name
193 193
      * @param  string $extension
194 194
      * @return array
195 195
      */
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Return random background
257 257
      *
258
-     * @return array
258
+     * @return string|null
259 259
      */
260 260
     public function loadBackground()
261 261
     {
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
 {
@@ -737,7 +737,7 @@  discard block
 block discarded – undo
737 737
 }
738 738
 
739 739
 /**
740
- * @param $name
740
+ * @param string $name
741 741
  */
742 742
 function smart_close_collapsable($name)
743 743
 {
@@ -747,7 +747,7 @@  discard block
 block discarded – undo
747 747
 }
748 748
 
749 749
 /**
750
- * @param     $name
750
+ * @param     string $name
751 751
  * @param     $value
752 752
  * @param int $time
753 753
  */
@@ -761,7 +761,7 @@  discard block
 block discarded – undo
761 761
 }
762 762
 
763 763
 /**
764
- * @param         $name
764
+ * @param         string $name
765 765
  * @param  string $default
766 766
  * @return string
767 767
  */
@@ -894,7 +894,7 @@  discard block
 block discarded – undo
894 894
 }
895 895
 
896 896
 /**
897
- * @param $src
897
+ * @param string $src
898 898
  */
899 899
 function smart_addScript($src)
900 900
 {
@@ -1071,8 +1071,8 @@  discard block
 block discarded – undo
1071 1071
 }
1072 1072
 
1073 1073
 /**
1074
- * @param $module
1075
- * @param $file
1074
+ * @param string $module
1075
+ * @param string $file
1076 1076
  */
1077 1077
 function smart_loadLanguageFile($module, $file)
1078 1078
 {
@@ -1188,7 +1188,7 @@  discard block
 block discarded – undo
1188 1188
  * This function should be able to cover almost all floats that appear in an european environment.
1189 1189
  * @param       $str
1190 1190
  * @param  bool $set
1191
- * @return float|int
1191
+ * @return double
1192 1192
  */
1193 1193
 function smart_getfloat($str, $set = false)
1194 1194
 {
@@ -1223,7 +1223,7 @@  discard block
 block discarded – undo
1223 1223
 /**
1224 1224
  * @param       $var
1225 1225
  * @param  bool $currencyObj
1226
- * @return float|int|mixed|string
1226
+ * @return string
1227 1227
  */
1228 1228
 function smart_currency($var, $currencyObj = false)
1229 1229
 {
@@ -1251,7 +1251,7 @@  discard block
 block discarded – undo
1251 1251
 
1252 1252
 /**
1253 1253
  * @param $var
1254
- * @return float|int|mixed|string
1254
+ * @return string
1255 1255
  */
1256 1256
 function smart_float($var)
1257 1257
 {
@@ -1299,7 +1299,7 @@  discard block
 block discarded – undo
1299 1299
 /**
1300 1300
  * @param $moduleName
1301 1301
  * @param $items
1302
- * @return array
1302
+ * @return string[]
1303 1303
  */
1304 1304
 function smart_getTablesArray($moduleName, $items)
1305 1305
 {
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.