Completed
Push — duchon-acl_list_xmlrpc ( 8059c1 )
by Gerrit
05:41
created
inc/IXR_Library.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1080,7 +1080,7 @@
 block discarded – undo
1080 1080
 
1081 1081
     /**
1082 1082
      * @param string $method
1083
-     * @return mixed
1083
+     * @return string
1084 1084
      */
1085 1085
     function methodHelp($method) {
1086 1086
         return $this->help[$method];
Please login to merge, or discard this patch.
inc/JpegMeta.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -2743,6 +2743,10 @@  discard block
 block discarded – undo
2743 2743
     }
2744 2744
 
2745 2745
     /*************************************************************/
2746
+
2747
+    /**
2748
+     * @param string $mode
2749
+     */
2746 2750
     function _exifTagTypes($mode) {
2747 2751
         $tags = array();
2748 2752
 
@@ -2893,6 +2897,10 @@  discard block
 block discarded – undo
2893 2897
     }
2894 2898
 
2895 2899
     /*************************************************************/
2900
+
2901
+    /**
2902
+     * @param string $mode
2903
+     */
2896 2904
     function _exifNameTags($mode) {
2897 2905
         $tags = $this->_exifTagNames($mode);
2898 2906
         return $this->_names2Tags($tags);
@@ -2965,6 +2973,10 @@  discard block
 block discarded – undo
2965 2973
     }
2966 2974
 
2967 2975
     /*************************************************************/
2976
+
2977
+    /**
2978
+     * @param integer $pos
2979
+     */
2968 2980
     function _getShort(&$data, $pos, $bigEndian = true) {
2969 2981
         if ($bigEndian) {
2970 2982
             return (ord($data{$pos}) << 8)
Please login to merge, or discard this patch.
inc/Mailer.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * Add the To: recipients
293 293
      *
294 294
      * @see cleanAddress
295
-     * @param string|string[]  $address Multiple adresses separated by commas or as array
295
+     * @param string  $address Multiple adresses separated by commas or as array
296 296
      */
297 297
     public function to($address) {
298 298
         $this->setHeader('To', $address, false);
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
      * Add the Bcc: recipients
313 313
      *
314 314
      * @see cleanAddress
315
-     * @param string|string[]  $address Multiple adresses separated by commas or as array
315
+     * @param string  $address Multiple adresses separated by commas or as array
316 316
      */
317 317
     public function bcc($address) {
318 318
         $this->setHeader('Bcc', $address, false);
Please login to merge, or discard this patch.
inc/media.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -623,7 +623,7 @@  discard block
 block discarded – undo
623 623
  * @param string   $file    path to file
624 624
  * @param string   $mime    mime type
625 625
  * @param bool|int $old_rev revision timestamp or false
626
- * @return bool
626
+ * @return false|null
627 627
  */
628 628
 function media_notify($id,$file,$mime,$old_rev=false){
629 629
     global $conf;
@@ -962,7 +962,7 @@  discard block
 block discarded – undo
962 962
  * @param string         $image media id
963 963
  * @param int            $auth permission level
964 964
  * @param int|string     $rev revision timestamp or empty string
965
- * @param JpegMeta|bool  $meta
965
+ * @param JpegMeta  $meta
966 966
  *
967 967
  * @author Kate Arzamastseva <[email protected]>
968 968
  */
@@ -1128,7 +1128,7 @@  discard block
 block discarded – undo
1128 1128
  * @param string        $image image id
1129 1129
  * @param int           $auth  permission level
1130 1130
  * @param string|int    $rev   revision timestamp, or empty string
1131
- * @param bool|JpegMeta $meta  image object, or create one if false
1131
+ * @param JpegMeta $meta  image object, or create one if false
1132 1132
  */
1133 1133
 function media_details($image, $auth, $rev='', $meta=false) {
1134 1134
     global $lang;
@@ -1719,7 +1719,7 @@  discard block
 block discarded – undo
1719 1719
  * @param string     $amp           separator
1720 1720
  * @param bool       $abs           absolute url?
1721 1721
  * @param bool       $params_array  return the parmeters array?
1722
- * @return string|array - link or link parameters
1722
+ * @return string[] - link or link parameters
1723 1723
  */
1724 1724
 function media_managerURL($params=false, $amp='&amp;', $abs=false, $params_array=false) {
1725 1725
     global $ID;
Please login to merge, or discard this patch.
inc/parser/metadata.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@
 block discarded – undo
423 423
      * keep track of internal links in $this->meta['relation']['references']
424 424
      *
425 425
      * @param string            $id   page ID to link to. eg. 'wiki:syntax'
426
-     * @param string|array|null $name name for the link, array for media file
426
+     * @param string $name name for the link, array for media file
427 427
      */
428 428
     function internallink($id, $name = null) {
429 429
         global $ID;
Please login to merge, or discard this patch.
inc/parserutils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
  *
455 455
  * @param string $id    page id
456 456
  * @param array  $orig  the original metadata
457
- * @return array|null array('current'=> array,'persistent'=> array);
457
+ * @return string array('current'=> array,'persistent'=> array);
458 458
  */
459 459
 function p_render_metadata($id, $orig){
460 460
     // make sure the correct ID is in global ID
Please login to merge, or discard this patch.
inc/PassHash.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -113,6 +113,7 @@
 block discarded – undo
113 113
      * @param string|null &$salt  The salt, pass null if you want one generated
114 114
      * @param int          $len   The length of the salt
115 115
      * @param bool         $cut   Apply length restriction to existing salt?
116
+     * @param string|null $salt
116 117
      */
117 118
     public function init_salt(&$salt, $len = 32, $cut = true) {
118 119
         if(is_null($salt)) {
Please login to merge, or discard this patch.
inc/RemoteAPICore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -517,7 +517,7 @@
 block discarded – undo
517 517
      * @param string $id page id
518 518
      * @param string $text wiki text
519 519
      * @param array $params such as summary,minor
520
-     * @return bool|string
520
+     * @return boolean
521 521
      */
522 522
     function appendPage($id, $text, $params) {
523 523
         $currentpage = $this->rawPage($id);
Please login to merge, or discard this patch.
inc/utf8.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -614,7 +614,7 @@
 block discarded – undo
614 614
     /**
615 615
      * Decodes numeric HTML entities to their correct UTF-8 characters
616 616
      *
617
-     * @param $ent string A numeric entity
617
+     * @param string $ent string A numeric entity
618 618
      * @return string|false
619 619
      */
620 620
     function utf8_decode_numeric($ent) {
Please login to merge, or discard this patch.