Completed
Push — develop ( d568f8...c061fc )
by Agel_Nash
06:25
created
manager/includes/controls/phpmailer/PHPMailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3968,7 +3968,7 @@
 block discarded – undo
3968 3968
      * @param int|string $options Either a PATHINFO_* constant,
3969 3969
      *                            or a string name to return only the specified piece
3970 3970
      *
3971
-     * @return string|array
3971
+     * @return string
3972 3972
      */
3973 3973
     public static function mb_pathinfo($path, $options = null)
3974 3974
     {
Please login to merge, or discard this patch.
manager/includes/controls/phpmailer/POP3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
      * Connect to a POP3 server.
210 210
      *
211 211
      * @param string   $host
212
-     * @param int|bool $port
212
+     * @param integer $port
213 213
      * @param int      $tval
214 214
      *
215 215
      * @return bool
Please login to merge, or discard this patch.
manager/includes/controls/phpmailer/SMTP.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1314,7 +1314,7 @@
 block discarded – undo
1314 1314
      * If no reply has been received yet, it will return null.
1315 1315
      * If no pattern was matched, it will return false.
1316 1316
      *
1317
-     * @return bool|null|string
1317
+     * @return string
1318 1318
      *
1319 1319
      * @see recordLastTransactionID()
1320 1320
      */
Please login to merge, or discard this patch.
manager/media/rss/extlib/Snoopy.class.inc 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -616,6 +616,9 @@  discard block
 block discarded – undo
616 616
         Output:
617 617
     \*======================================================================*/
618 618
 
619
+    /**
620
+     * @param string $http_method
621
+     */
619 622
     function _httprequest($url, $fp, $URI, $http_method, $content_type = "", $body = "")
620 623
     {
621 624
         $cookie_headers = '';
@@ -923,6 +926,10 @@  discard block
 block discarded – undo
923 926
         Output:		post body
924 927
     \*======================================================================*/
925 928
 
929
+    /**
930
+     * @param string $formvars
931
+     * @param string $formfiles
932
+     */
926 933
     function _prepare_post_body($formvars, $formfiles)
927 934
     {
928 935
         settype($formvars, "array");
Please login to merge, or discard this patch.
manager/media/rss/rss_fetch.inc 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@  discard block
 block discarded – undo
243 243
         }
244 244
 }
245 245
 
246
+/**
247
+ * @param integer $lvl
248
+ */
246 249
 function debug ($debugmsg, $lvl=E_USER_NOTICE) {
247 250
     trigger_error("MagpieRSS [debug] $debugmsg", $lvl);
248 251
 }
@@ -289,6 +292,9 @@  discard block
 block discarded – undo
289 292
     Input:      an HTTP response object (see Snoopy)
290 293
     Output:     parsed RSS object (see rss_parse)
291 294
 \*=======================================================================*/
295
+/**
296
+ * @param Snoopy $resp
297
+ */
292 298
 function _response_to_rss ($resp) {
293 299
     $rss = new MagpieRSS( $resp->results, MAGPIE_OUTPUT_ENCODING, MAGPIE_INPUT_ENCODING, MAGPIE_DETECT_ENCODING );
294 300
     
Please login to merge, or discard this patch.
manager/media/rss/rss_cache.inc 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
     Input:      url from wich the rss file was fetched
49 49
     Output:     true on sucess
50 50
 \*=======================================================================*/
51
+    /**
52
+     * @param string $url
53
+     */
51 54
     function set ($url, $rss) {
52 55
         $this->ERROR = "";
53 56
         $cache_file = $this->file_name( $url );
@@ -74,6 +77,9 @@  discard block
 block discarded – undo
74 77
     Input:      url from wich the rss file was fetched
75 78
     Output:     cached object on HIT, false on MISS
76 79
 \*=======================================================================*/
80
+    /**
81
+     * @param string $url
82
+     */
77 83
     function get ($url) {
78 84
         $this->ERROR = "";
79 85
         $cache_file = $this->file_name( $url );
@@ -110,6 +116,9 @@  discard block
 block discarded – undo
110 116
     Input:      url from wich the rss file was fetched
111 117
     Output:     cached object on HIT, false on MISS
112 118
 \*=======================================================================*/
119
+    /**
120
+     * @param string $url
121
+     */
113 122
     function check_cache ( $url ) {
114 123
         $this->ERROR = "";
115 124
         $filename = $this->file_name( $url );
@@ -156,6 +165,9 @@  discard block
 block discarded – undo
156 165
 /*=======================================================================*\
157 166
     Function:   unserialize
158 167
 \*=======================================================================*/
168
+    /**
169
+     * @param string $data
170
+     */
159 171
     function unserialize ( $data ) {
160 172
         return unserialize( $data );
161 173
     }
Please login to merge, or discard this patch.
manager/media/rss/rss_parse.inc 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -332,6 +332,10 @@  discard block
 block discarded – undo
332 332
     }
333 333
 
334 334
     // smart append - field and namespace aware
335
+
336
+    /**
337
+     * @param string $el
338
+     */
335 339
     function append($el, $text) {
336 340
         if (!$el) {
337 341
             return;
@@ -447,6 +451,10 @@  discard block
 block discarded – undo
447 451
     /**
448 452
     * return XML parser, and possibly re-encoded source
449 453
     *
454
+    * @param string $source
455
+    * @param string $out_enc
456
+    * @param string|null $in_enc
457
+    * @param boolean $detect
450 458
     */
451 459
     function create_parser($source, $out_enc, $in_enc, $detect) {
452 460
         if ( substr(phpversion(),0,1) == 5) {
@@ -556,6 +564,9 @@  discard block
 block discarded – undo
556 564
         }
557 565
     }
558 566
 
567
+    /**
568
+     * @param integer $lvl
569
+     */
559 570
     function error ($errormsg, $lvl=E_USER_WARNING) {
560 571
         // append PHP's error message if track_errors enabled
561 572
         if ( isset($php_errormsg) ) {
@@ -591,6 +602,9 @@  discard block
 block discarded – undo
591 602
 	define('CASE_LOWER', 0);
592 603
 
593 604
 
605
+	/**
606
+	 * @param integer $case
607
+	 */
594 608
 	function array_change_key_case($array, $case=CASE_LOWER) {
595 609
         $output = array();
596 610
         switch($case){
Please login to merge, or discard this patch.
install/instprocessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * duplicate of method in documentParser class
131 131
      *
132 132
      * @param string $propertyString
133
-     * @return array
133
+     * @return string
134 134
      */
135 135
     function parseProperties($propertyString) {
136 136
         $parameter= array ();
Please login to merge, or discard this patch.
manager/actions/files.dynamic.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -719,7 +719,7 @@  discard block
 block discarded – undo
719 719
 
720 720
 /**
721 721
  * @param string $string
722
- * @return bool|string
722
+ * @return string|false
723 723
  */
724 724
 function removeLastPath($string)
725 725
 {
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
 
735 735
 /**
736 736
  * @param string $string
737
- * @return bool|string
737
+ * @return string|false
738 738
  */
739 739
 function getExtension($string)
740 740
 {
Please login to merge, or discard this patch.