Completed
Push — master ( 786b6e...dc199a )
by Michael
01:38
created
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.
include/functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
 
318 318
 //
319 319
 /**
320
- * @param $aFile
320
+ * @param string $aFile
321 321
  * @return string
322 322
  */
323 323
 function mylinksGetIconURL($aFile)
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 
334 334
 //
335 335
 /**
336
- * @param        $aFile
336
+ * @param        string $aFile
337 337
  * @param string $subPath
338 338
  * @param bool   $relPath
339 339
  * @return string
Please login to merge, or discard this patch.
include/gtickets.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
          * @param bool   $post
161 161
          * @param string $area
162 162
          * @param bool   $allow_repost
163
-         * @return bool
163
+         * @return null|boolean
164 164
          */
165 165
         public function check($post = true, $area = '', $allow_repost = true)
166 166
         {
@@ -295,9 +295,9 @@  discard block
 block discarded – undo
295 295
         }
296 296
 
297 297
         /**
298
-         * @param $key_name
298
+         * @param string $key_name
299 299
          * @param $tmp_array
300
-         * @return array
300
+         * @return string[]
301 301
          */
302 302
         public function extract_post_recursive($key_name, $tmp_array)
303 303
         {
Please login to merge, or discard this patch.
qrcode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,10 +98,10 @@
 block discarded – undo
98 98
 $myts = MyTextSanitizer::getInstance();
99 99
 
100 100
 /**
101
- * @param        $str
101
+ * @param        string $str
102 102
  * @param string $to
103 103
  * @param string $from
104
- * @return array|string
104
+ * @return string
105 105
  */
106 106
 function mylinks_qrcode_convert_encoding($str, $to = 'SJIS', $from = _CHARSET)
107 107
 {
Please login to merge, or discard this patch.