Completed
Push — master ( b236d1...786b6e )
by Michael
05:27 queued 02:40
created
admin/mygrouppermform.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@  discard block
 block discarded – undo
114 114
      * Add appendix
115 115
      *
116 116
      * @access public
117
-     * @param $permName
117
+     * @param string $permName
118 118
      * @param $itemId
119
-     * @param $itemName
119
+     * @param string $itemName
120 120
      */
121 121
     public function addAppendix($permName, $itemId, $itemName)
122 122
     {
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Constructor
259 259
      * @param      $caption
260
-     * @param      $name
260
+     * @param      string $name
261 261
      * @param      $groupId
262 262
      * @param null $values
263 263
      */
Please login to merge, or discard this patch.
bookmark.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -101,10 +101,10 @@  discard block
 block discarded – undo
101 101
 $sitetitle_en = urlencode(mb_convert_encoding($sitetitle, 'UTF-8', _CHARSET));
102 102
 
103 103
 /**
104
- * @param        $str
104
+ * @param        string $str
105 105
  * @param string $to
106 106
  * @param string $from
107
- * @return array|string
107
+ * @return string
108 108
  */
109 109
 function bookmark_convert_encoding($str, $to = 'SJIS', $from = _CHARSET)
110 110
 {
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
 /**
127 127
  * @param string $data
128
- * @return array|mixed|string
128
+ * @return string
129 129
  */
130 130
 function bookmark_qrcode_encoding($data = '')
131 131
 {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 }
214 214
 
215 215
 /**
216
- * @param      $url
216
+ * @param      integer[] $url
217 217
  * @param null $length
218 218
  * @param int  $init
219 219
  * @return mixed
@@ -270,8 +270,8 @@  discard block
 block discarded – undo
270 270
 }
271 271
 
272 272
 /**
273
- * @param $string
274
- * @return mixed
273
+ * @param string $string
274
+ * @return integer[]
275 275
  */
276 276
 function strord($string)
277 277
 {
Please login to merge, or discard this patch.
class/providers/pagepeeker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return mixed|string
62
+     * @return string
63 63
      */
64 64
     public function getProviderUrl()
65 65
     {
Please login to merge, or discard this patch.
class/Text_Diff.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      * @param $xlim
461 461
      * @param $yoff
462 462
      * @param $ylim
463
-     * @param $nchunks
463
+     * @param double $nchunks
464 464
      * @return array
465 465
      */
466 466
     public function _diag($xoff, $xlim, $yoff, $ylim, $nchunks)
@@ -587,10 +587,10 @@  discard block
 block discarded – undo
587 587
      *
588 588
      * Note that XLIM, YLIM are exclusive bounds.  All line numbers are
589 589
      * origin-0 and discarded lines are not counted.
590
-     * @param $xoff
591
-     * @param $xlim
592
-     * @param $yoff
593
-     * @param $ylim
590
+     * @param integer $xoff
591
+     * @param integer $xlim
592
+     * @param integer $yoff
593
+     * @param integer $ylim
594 594
      */
595 595
     public function _compareseq($xoff, $xlim, $yoff, $ylim)
596 596
     {
Please login to merge, or discard this patch.
class/Text_Diff_Renderer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,10 +122,10 @@  discard block
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-     * @param $xbeg
126
-     * @param $xlen
127
-     * @param $ybeg
128
-     * @param $ylen
125
+     * @param integer $xbeg
126
+     * @param integer $xlen
127
+     * @param integer $ybeg
128
+     * @param integer $ylen
129 129
      * @param $edits
130 130
      * @return string
131 131
      */
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @param $header
195
+     * @param string $header
196 196
      * @return string
197 197
      */
198 198
     public function _startBlock($header)
Please login to merge, or discard this patch.
class/Text_Diff_Renderer_inline.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-     * @param        $lines
79
+     * @param        string[] $lines
80 80
      * @param string $prefix
81 81
      * @param bool   $encode
82 82
      * @return string
@@ -161,8 +161,8 @@  discard block
 block discarded – undo
161 161
     }
162 162
 
163 163
     /**
164
-     * @param        $string
165
-     * @param string $newlineEscape
164
+     * @param        string $string
165
+     * @param string string
166 166
      * @return array
167 167
      */
168 168
     public function _splitOnWords($string, $newlineEscape = "\n")
Please login to merge, or discard this patch.
class/thumbplugin.interface.php 1 patch
Doc Comments   +22 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,8 +23,14 @@  discard block
 block discarded – undo
23 23
  */
24 24
 interface MylinksThumbPlugin
25 25
 {
26
+    /**
27
+     * @return string
28
+     */
26 29
     public function getProviderUrl();
27 30
 
31
+    /**
32
+     * @return string
33
+     */
28 34
     public function getProviderName();
29 35
 
30 36
     /**
@@ -41,10 +47,19 @@  discard block
 block discarded – undo
41 47
      */
42 48
     public function setSiteUrl($url);
43 49
 
50
+    /**
51
+     * @return string
52
+     */
44 53
     public function getSiteUrl();
45 54
 
55
+    /**
56
+     * @return void
57
+     */
46 58
     public function setAttribution();
47 59
 
60
+    /**
61
+     * @return string
62
+     */
48 63
     public function getAttribution();
49 64
 
50 65
     /**
@@ -53,13 +68,19 @@  discard block
 block discarded – undo
53 68
      */
54 69
     public function setProviderPublicKey($key);
55 70
 
71
+    /**
72
+     * @return boolean|null
73
+     */
56 74
     public function getProviderPublicKey();
57 75
 
58 76
     /**
59 77
      * @param $key
60
-     * @return mixed
78
+     * @return boolean
61 79
      */
62 80
     public function setProviderPrivateKey($key);
63 81
 
82
+    /**
83
+     * @return boolean
84
+     */
64 85
     public function getProviderPrivateKey();
65 86
 }
Please login to merge, or discard this patch.
class/utility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Sanitize input variables
28 28
      * @param  string             $global  the input array ($_REQUEST, $_GET, $_POST)
29
-     * @param  unknown_type       $key     the array key for variable to clean
29
+     * @param  string       $key     the array key for variable to clean
30 30
      * @param string|unknown_type $default the default value to use if filter fails
31 31
      * @param  string             $type    the variable type (string, email, url, int)
32 32
      * @param  array              $limit   'min' 'max' keys - the lower/upper limit for integer values
Please login to merge, or discard this patch.
include/feedfunc.new.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
 /**
49 49
  * @param $title
50
- * @return mixed|string
50
+ * @return string
51 51
  */
52 52
 function wani_make_html_title($title)
53 53
 {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 /**
65 65
  * @param $sum
66 66
  * @param $max
67
- * @return mixed|string
67
+ * @return string
68 68
  */
69 69
 function wani_make_html_summary($sum, $max)
70 70
 {
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
 // strip space code
139 139
 // --------------------------------------------------------
140 140
 /**
141
- * @param $text
142
- * @return mixed|string
141
+ * @param string $text
142
+ * @return string
143 143
  */
144 144
 function wani_strip_space($text)
145 145
 {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 // --------------------------------------------------------
165 165
 /**
166 166
  * @param $text
167
- * @return mixed
167
+ * @return string
168 168
  */
169 169
 function wani_add_space($text)
170 170
 {
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 // --------------------------------------------------------
185 185
 /**
186 186
  * @param $text
187
- * @return mixed|string
187
+ * @return string
188 188
  */
189 189
 function wani_html_special_chars($text)
190 190
 {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 // BUG 3169: need to sanitaize $_SERVER['PHP_SELF']
209 209
 /**
210 210
  * @param $text
211
- * @return mixed|string
211
+ * @return string
212 212
  */
213 213
 function wani_html_special_chars_url($text)
214 214
 {
Please login to merge, or discard this patch.