Completed
Branch master (9ae314)
by Michael
02:19 queued 31s
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.
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.
class/utility.php 2 patches
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
      * @param string $extra
570 570
      * @param int    $scount
571 571
      *
572
-     * @return null
572
+     * @return false|null
573 573
      */
574 574
     public static function getAdminMenu($header = '', $menu = '', $extra = '', $scount = 4)
575 575
     {
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
      * @param string $art
982 982
      * @param string $_this
983 983
      *
984
-     * @return null
984
+     * @return false|null
985 985
      */
986 986
     public static function getLinkListPageNav($pubrowamount, $start, $art = 'art', $_this = '')
987 987
     {
@@ -1005,7 +1005,7 @@  discard block
 block discarded – undo
1005 1005
      * @param string $art
1006 1006
      * @param string $_this
1007 1007
      *
1008
-     * @return null
1008
+     * @return false|null
1009 1009
      */
1010 1010
     public static function getLinkListPageNavLeft($pubrowamount, $start, $art = 'art', $_this = '')
1011 1011
     {
@@ -1026,8 +1026,8 @@  discard block
 block discarded – undo
1026 1026
     // Retreive an editor according to the module's option "form_options"
1027 1027
 
1028 1028
     /**
1029
-     * @param $caption
1030
-     * @param $name
1029
+     * @param string $caption
1030
+     * @param string $name
1031 1031
      * @param $value
1032 1032
      *
1033 1033
      * @return bool|\XoopsFormDhtmlTextArea|\XoopsFormEditor|\XoopsFormFckeditor|\XoopsFormHtmlarea|\XoopsFormTextArea
@@ -1195,7 +1195,7 @@  discard block
 block discarded – undo
1195 1195
     /**
1196 1196
      * @param $countryn
1197 1197
      *
1198
-     * @return mixed
1198
+     * @return string
1199 1199
      */
1200 1200
     public static function getCountryName($countryn)
1201 1201
     {
@@ -1651,7 +1651,7 @@  discard block
 block discarded – undo
1651 1651
     /**
1652 1652
      * @param $string
1653 1653
      *
1654
-     * @return mixed
1654
+     * @return integer[]
1655 1655
      */
1656 1656
     public static function strord($string)
1657 1657
     {
@@ -1699,7 +1699,7 @@  discard block
 block discarded – undo
1699 1699
 
1700 1700
     // Check if Tag module is installed
1701 1701
     /**
1702
-     * @return bool
1702
+     * @return null|boolean
1703 1703
      */
1704 1704
     public static function isTagModuleIncluded()
1705 1705
     {
@@ -1736,7 +1736,7 @@  discard block
 block discarded – undo
1736 1736
     // Check if News module is installed
1737 1737
 
1738 1738
     /**
1739
-     * @return bool
1739
+     * @return null|boolean
1740 1740
      */
1741 1741
     public static function isNewsModuleIncluded()
1742 1742
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Xmf\Request;
4
-
5 3
 require_once __DIR__ . '/common/traitversionchecks.php';
6 4
 require_once __DIR__ . '/common/traitserverstats.php';
7 5
 require_once __DIR__ . '/common/traitfilesmgmt.php';
Please login to merge, or discard this patch.