Completed
Push — master ( dc7924...1aa479 )
by Michael
11s
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/utility.php 2 patches
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.
Doc Comments   +11 added lines, -11 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
     {
@@ -982,7 +982,7 @@  discard block
 block discarded – undo
982 982
      * @param string $art
983 983
      * @param string $_this
984 984
      *
985
-     * @return null
985
+     * @return false|null
986 986
      */
987 987
     public static function getLinkListPageNav($pubrowamount, $start, $art = 'art', $_this = '')
988 988
     {
@@ -1006,7 +1006,7 @@  discard block
 block discarded – undo
1006 1006
      * @param string $art
1007 1007
      * @param string $_this
1008 1008
      *
1009
-     * @return null
1009
+     * @return false|null
1010 1010
      */
1011 1011
     public static function getLinkListPageNavLeft($pubrowamount, $start, $art = 'art', $_this = '')
1012 1012
     {
@@ -1027,8 +1027,8 @@  discard block
 block discarded – undo
1027 1027
     // Retreive an editor according to the module's option "form_options"
1028 1028
 
1029 1029
     /**
1030
-     * @param $caption
1031
-     * @param $name
1030
+     * @param string $caption
1031
+     * @param string $name
1032 1032
      * @param $value
1033 1033
      *
1034 1034
      * @return bool|\XoopsFormDhtmlTextArea|\XoopsFormEditor|\XoopsFormFckeditor|\XoopsFormHtmlarea|\XoopsFormTextArea
@@ -1196,7 +1196,7 @@  discard block
 block discarded – undo
1196 1196
     /**
1197 1197
      * @param $countryn
1198 1198
      *
1199
-     * @return mixed
1199
+     * @return string
1200 1200
      */
1201 1201
     public static function getCountryName($countryn)
1202 1202
     {
@@ -1577,7 +1577,7 @@  discard block
 block discarded – undo
1577 1577
     }
1578 1578
 
1579 1579
     /**
1580
-     * @param      $url
1580
+     * @param      integer[] $url
1581 1581
      * @param null $length
1582 1582
      * @param int  $init
1583 1583
      *
@@ -1650,9 +1650,9 @@  discard block
 block discarded – undo
1650 1650
     //converts a string into an array of integers containing the numeric value of the char
1651 1651
 
1652 1652
     /**
1653
-     * @param $string
1653
+     * @param string $string
1654 1654
      *
1655
-     * @return mixed
1655
+     * @return integer[]
1656 1656
      */
1657 1657
     public static function strord($string)
1658 1658
     {
@@ -1700,7 +1700,7 @@  discard block
 block discarded – undo
1700 1700
 
1701 1701
     // Check if Tag module is installed
1702 1702
     /**
1703
-     * @return bool
1703
+     * @return null|boolean
1704 1704
      */
1705 1705
     public static function isTagModuleIncluded()
1706 1706
     {
@@ -1737,7 +1737,7 @@  discard block
 block discarded – undo
1737 1737
     // Check if News module is installed
1738 1738
 
1739 1739
     /**
1740
-     * @return bool
1740
+     * @return null|boolean
1741 1741
      */
1742 1742
     public static function isNewsModuleIncluded()
1743 1743
     {
Please login to merge, or discard this patch.
class/wfllists.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.
class/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.