Completed
Push — deferJS ( f4b2a3 )
by Michael
05:45 queued 03:07
created
inc/Extension/PluginTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @see PluginInterface::getLang()
88
+     * @param string $id
88 89
      */
89 90
     public function getLang($id)
90 91
     {
Please login to merge, or discard this patch.
lib/plugins/extension/helper/extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -824,7 +824,7 @@
 block discarded – undo
824 824
      * @param string $url           url to download
825 825
      * @param string $file          path to file or directory where to save
826 826
      * @param string $defaultName   fallback for name of download
827
-     * @return bool|string          if failed false, otherwise true or the name of the file in the given dir
827
+     * @return false|string          if failed false, otherwise true or the name of the file in the given dir
828 828
      */
829 829
     protected function downloadToFile($url,$file,$defaultName=''){
830 830
         global $conf;
Please login to merge, or discard this patch.
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/Debug/PropertyDeprecationHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      * Like property_exists but also check for non-visible private properties and returns which
102 102
      * class in the inheritance chain declared the property.
103 103
      * @param string $property
104
-     * @return string|bool Best guess for the class in which the property is defined.
104
+     * @return string|false Best guess for the class in which the property is defined.
105 105
      */
106 106
     private function deprecationHelperGetPropertyOwner($property)
107 107
     {
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.