Completed
Push — master ( 2b2520...e78a73 )
by Michael
01:45
created
admin/main.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 /**
20 20
  * @param int $lid
21 21
  *
22
- * @return null
22
+ * @return false|null
23 23
  */
24 24
 function edit($lid = 0)
25 25
 {
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,9 +107,9 @@  discard block
 block discarded – undo
107 107
      * Add appendix
108 108
      *
109 109
      * @access public
110
-     * @param $permName
110
+     * @param string $permName
111 111
      * @param $itemId
112
-     * @param $itemName
112
+     * @param string $itemName
113 113
      */
114 114
     public function addAppendix($permName, $itemId, $itemName)
115 115
     {
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * Constructor
256 256
      * @param      $caption
257
-     * @param      $name
257
+     * @param      string $name
258 258
      * @param      $groupId
259 259
      * @param null $values
260 260
      */
Please login to merge, or discard this patch.
class/plugins/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  *
24 24
  * @var array $items associative array of items: [modid][catid][itemid]
25 25
  *
26
- * @return boolean
26
+ * @return false|null
27 27
  *
28 28
  */
29 29
 
Please login to merge, or discard this patch.
class/uploader.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Constructor
93 93
      *
94 94
      * @param string    $uploadDir
95
-     * @param array|int $allowedMimeTypes
95
+     * @param integer $allowedMimeTypes
96 96
      * @param int       $maxFileSize
97 97
      * @param int       $maxWidth
98 98
      * @param int       $maxHeight
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @param $value
118
+     * @param integer $value
119 119
      */
120 120
     public function noAdminSizeCheck($value)
121 121
     {
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
     /**
343 343
      * Copy the file to its destination
344 344
      *
345
-     * @param $chmod
345
+     * @param integer $chmod
346 346
      *
347 347
      * @return bool
348 348
      */
Please login to merge, or discard this patch.
class/wfl_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @param        $dirname
101
+     * @param        string $dirname
102 102
      * @param string $type
103 103
      * @param string $prefix
104 104
      * @param int    $noselection
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
  * @param string $extra
724 724
  * @param int    $scount
725 725
  *
726
- * @return null
726
+ * @return false|null
727 727
  */
728 728
 function wfl_adminmenu($header = '', $menu = '', $extra = '', $scount = 4)
729 729
 {
@@ -1135,7 +1135,7 @@  discard block
 block discarded – undo
1135 1135
  * @param string $art
1136 1136
  * @param string $_this
1137 1137
  *
1138
- * @return null
1138
+ * @return false|null
1139 1139
  */
1140 1140
 function wfl_linklistpagenav($pubrowamount, $start, $art = 'art', $_this = '')
1141 1141
 {
@@ -1159,7 +1159,7 @@  discard block
 block discarded – undo
1159 1159
  * @param string $art
1160 1160
  * @param string $_this
1161 1161
  *
1162
- * @return null
1162
+ * @return false|null
1163 1163
  */
1164 1164
 function wfl_linklistpagenavleft($pubrowamount, $start, $art = 'art', $_this = '')
1165 1165
 {
@@ -1179,8 +1179,8 @@  discard block
 block discarded – undo
1179 1179
 
1180 1180
 // Retreive an editor according to the module's option "form_options"
1181 1181
 /**
1182
- * @param $caption
1183
- * @param $name
1182
+ * @param string $caption
1183
+ * @param string $name
1184 1184
  * @param $value
1185 1185
  *
1186 1186
  * @return bool|\XoopsFormDhtmlTextArea|\XoopsFormEditor|\XoopsFormFckeditor|\XoopsFormHtmlarea|\XoopsFormTextArea
@@ -1348,7 +1348,7 @@  discard block
 block discarded – undo
1348 1348
 /**
1349 1349
  * @param $countryn
1350 1350
  *
1351
- * @return mixed
1351
+ * @return string
1352 1352
  */
1353 1353
 function wfl_countryname($countryn)
1354 1354
 {
@@ -1729,7 +1729,7 @@  discard block
 block discarded – undo
1729 1729
 }
1730 1730
 
1731 1731
 /**
1732
- * @param      $url
1732
+ * @param      integer[] $url
1733 1733
  * @param null $length
1734 1734
  * @param int  $init
1735 1735
  *
@@ -1801,9 +1801,9 @@  discard block
 block discarded – undo
1801 1801
 
1802 1802
 //converts a string into an array of integers containing the numeric value of the char
1803 1803
 /**
1804
- * @param $string
1804
+ * @param string $string
1805 1805
  *
1806
- * @return mixed
1806
+ * @return integer[]
1807 1807
  */
1808 1808
 function strord($string)
1809 1809
 {
@@ -1851,7 +1851,7 @@  discard block
 block discarded – undo
1851 1851
 
1852 1852
 // Check if Tag module is installed
1853 1853
 /**
1854
- * @return bool
1854
+ * @return null|boolean
1855 1855
  */
1856 1856
 function wfl_tag_module_included()
1857 1857
 {
@@ -1886,7 +1886,7 @@  discard block
 block discarded – undo
1886 1886
 
1887 1887
 // Check if News module is installed
1888 1888
 /**
1889
- * @return bool
1889
+ * @return null|boolean
1890 1890
  */
1891 1891
 function wfl_news_module_included()
1892 1892
 {
Please login to merge, or discard this patch.
vcard.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,13 +29,16 @@  discard block
 block discarded – undo
29 29
  * @return mixed
30 30
  */
31 31
 
32
+/**
33
+ * @param string $string
34
+ */
32 35
 function vcard_encode($string)
33 36
 {
34 37
     return vcard_escape(vcard_quoted_printable_encode($string));
35 38
 }
36 39
 
37 40
 /**
38
- * @param $string
41
+ * @param string $string
39 42
  *
40 43
  * @return mixed
41 44
  */
@@ -147,7 +150,7 @@  discard block
 block discarded – undo
147 150
     }
148 151
 
149 152
     /**
150
-     * @param $name
153
+     * @param string $name
151 154
      */
152 155
     public function setFormattedName($name)
153 156
     {
Please login to merge, or discard this patch.