Completed
Push — event-msg-show ( 0e2048 )
by Henry
02:52
created
inc/parser/metadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
      * keep track of internal links in $this->meta['relation']['references']
457 457
      *
458 458
      * @param string            $id   page ID to link to. eg. 'wiki:syntax'
459
-     * @param string|array|null $name name for the link, array for media file
459
+     * @param string $name name for the link, array for media file
460 460
      */
461 461
     public function internallink($id, $name = null)
462 462
     {
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
      *
656 656
      * @param string $name
657 657
      *
658
-     * @return mixed|string
658
+     * @return string
659 659
      */
660 660
     public function _simpleTitle($name)
661 661
     {
Please login to merge, or discard this patch.
inc/PassHash.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/Cache/Cache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return $this->_event;
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $event
60
+     */
58 61
     public function setEvent($event)
59 62
     {
60 63
         $this->_event = $event;
Please login to merge, or discard this patch.
inc/Extension/Event.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,6 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * advise all registered AFTER handlers of this event
82 82
      *
83
-     * @param bool $enablePreventDefault
84 83
      * @see advise_before() for details
85 84
      */
86 85
     public function advise_after()
@@ -190,7 +189,7 @@  discard block
 block discarded – undo
190 189
      * @param callable $action (optional, default=NULL) default action, a php callback function
191 190
      * @param bool $canPreventDefault (optional, default=true) can hooks prevent the default action
192 191
      *
193
-     * @return mixed                        the event results value after all event processing is complete
192
+     * @return boolean                        the event results value after all event processing is complete
194 193
      *                                      by default this is the return value of the default action however
195 194
      *                                      it can be set or modified by event handler hooks
196 195
      */
Please login to merge, or discard this patch.
inc/Utf8/Conversion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     /**
105 105
      * Decodes numeric HTML entities to their correct UTF-8 characters
106 106
      *
107
-     * @param $ent string A numeric entity
107
+     * @param string $ent string A numeric entity
108 108
      * @return string|false
109 109
      */
110 110
     protected static function decodeNumericEntity($ent)
Please login to merge, or discard this patch.
inc/JpegMeta.php 1 patch
Doc Comments   +14 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2545,7 +2545,7 @@  discard block
 block discarded – undo
2545 2545
      * @param string $header
2546 2546
      * @param mixed $value
2547 2547
      *
2548
-     * @return int|mixed
2548
+     * @return integer
2549 2549
      */
2550 2550
     function _write8BIM(&$data, $pos, $type, $header, &$value) {
2551 2551
         $signature = "8BIM";
@@ -2613,7 +2613,7 @@  discard block
 block discarded – undo
2613 2613
      * @param string $type
2614 2614
      * @param mixed $value
2615 2615
      *
2616
-     * @return int|mixed
2616
+     * @return integer
2617 2617
      */
2618 2618
     function _writeIPTCEntry(&$data, $pos, $type, &$value) {
2619 2619
         $pos = $this->_putShort($data, $pos, 0x1C02);
@@ -2775,6 +2775,10 @@  discard block
 block discarded – undo
2775 2775
     }
2776 2776
 
2777 2777
     /*************************************************************/
2778
+
2779
+    /**
2780
+     * @param string $mode
2781
+     */
2778 2782
     function _exifTagTypes($mode) {
2779 2783
         $tags = array();
2780 2784
 
@@ -2925,6 +2929,10 @@  discard block
 block discarded – undo
2925 2929
     }
2926 2930
 
2927 2931
     /*************************************************************/
2932
+
2933
+    /**
2934
+     * @param string $mode
2935
+     */
2928 2936
     function _exifNameTags($mode) {
2929 2937
         $tags = $this->_exifTagNames($mode);
2930 2938
         return $this->_names2Tags($tags);
@@ -3005,6 +3013,10 @@  discard block
 block discarded – undo
3005 3013
     }
3006 3014
 
3007 3015
     /*************************************************************/
3016
+
3017
+    /**
3018
+     * @param integer $pos
3019
+     */
3008 3020
     function _getShort(&$data, $pos, $bigEndian = true) {
3009 3021
         if ($bigEndian) {
3010 3022
             return (ord($data[$pos]) << 8)
Please login to merge, or discard this patch.
inc/IXR_Library.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
     var $capabilities;
388 388
 
389 389
     /**
390
-     * @param array|bool $callbacks
390
+     * @param boolean $callbacks
391 391
      * @param bool $data
392 392
      * @param bool $wait
393 393
      */
@@ -1088,7 +1088,7 @@  discard block
 block discarded – undo
1088 1088
 
1089 1089
     /**
1090 1090
      * @param string $method
1091
-     * @return mixed
1091
+     * @return string
1092 1092
      */
1093 1093
     function methodHelp($method) {
1094 1094
         return $this->help[$method];
Please login to merge, or discard this patch.
inc/media.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -670,7 +670,7 @@  discard block
 block discarded – undo
670 670
  * @param string   $file    path to file
671 671
  * @param string   $mime    mime type
672 672
  * @param bool|int $old_rev revision timestamp or false
673
- * @return bool
673
+ * @return false|null
674 674
  */
675 675
 function media_notify($id,$file,$mime,$old_rev=false,$current_rev=false){
676 676
     global $conf;
@@ -940,7 +940,7 @@  discard block
 block discarded – undo
940 940
  * @param string     $image media id
941 941
  * @param string     $ns
942 942
  * @param null|int   $auth  permission level
943
- * @param string|int $rev   revision timestamp or empty string
943
+ * @param boolean $rev   revision timestamp or empty string
944 944
  */
945 945
 function media_tab_view($image, $ns, $auth=null, $rev='') {
946 946
     global $lang;
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
  * @param string         $image media id
1010 1010
  * @param int            $auth permission level
1011 1011
  * @param int|string     $rev revision timestamp or empty string
1012
- * @param JpegMeta|bool  $meta
1012
+ * @param JpegMeta  $meta
1013 1013
  *
1014 1014
  * @author Kate Arzamastseva <[email protected]>
1015 1015
  */
@@ -1175,7 +1175,7 @@  discard block
 block discarded – undo
1175 1175
  * @param string        $image image id
1176 1176
  * @param int           $auth  permission level
1177 1177
  * @param string|int    $rev   revision timestamp, or empty string
1178
- * @param bool|JpegMeta $meta  image object, or create one if false
1178
+ * @param JpegMeta $meta  image object, or create one if false
1179 1179
  */
1180 1180
 function media_details($image, $auth, $rev='', $meta=false) {
1181 1181
     global $lang;
@@ -1785,7 +1785,7 @@  discard block
 block discarded – undo
1785 1785
  * @param string     $amp           separator
1786 1786
  * @param bool       $abs           absolute url?
1787 1787
  * @param bool       $params_array  return the parmeters array?
1788
- * @return string|array - link or link parameters
1788
+ * @return string[] - link or link parameters
1789 1789
  */
1790 1790
 function media_managerURL($params=false, $amp='&amp;', $abs=false, $params_array=false) {
1791 1791
     global $ID;
Please login to merge, or discard this patch.
inc/Subscriptions/MediaSubscriptionSender.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      * @param string   $template        Mail template ('uploadmail', ...)
17 17
      * @param string   $id              Media file for which the notification is
18 18
      * @param int|bool $rev             Old revision if any
19
-     * @param int|bool $current_rev     New revision if any
19
+     * @param boolean $current_rev     New revision if any
20 20
      */
21 21
     public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false)
22 22
     {
Please login to merge, or discard this patch.