Completed
Pull Request — master (#2651)
by Elan
03:47
created
inc/PluginTrait.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @see DokuWiki_PluginInterface::loadHelper()
42
+     * @param string $name
42 43
      */
43 44
     public function loadHelper($name, $msg = true) {
44 45
         $obj = plugin_load('helper', $name);
@@ -86,6 +87,7 @@  discard block
 block discarded – undo
86 87
 
87 88
     /**
88 89
      * @see DokuWiki_PluginInterface::locale_xhtml()
90
+     * @param string $id
89 91
      */
90 92
     public function locale_xhtml($id) {
91 93
         return p_cached_output($this->localFN($id));
Please login to merge, or discard this patch.
inc/template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
  * @param string      $id   page id
425 425
  * @param string|null $name the name of the link
426 426
  * @param bool        $return
427
- * @return true|string
427
+ * @return string|boolean
428 428
  */
429 429
 function tpl_pagelink($id, $name = null, $return = false) {
430 430
     $out = '<bdi>'.html_wikilink($id, $name).'</bdi>';
Please login to merge, or discard this patch.
inc/common.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
  *
195 195
  * @author Andreas Gohr <[email protected]>
196 196
  *
197
- * @return array with info about current document
197
+ * @return string with info about current document
198 198
  */
199 199
 function pageinfo() {
200 200
     global $ID;
@@ -1419,7 +1419,7 @@  discard block
 block discarded – undo
1419 1419
  * @param string     $summary  What changed
1420 1420
  * @param boolean    $minor    Is this a minor edit?
1421 1421
  * @param string[]   $replace  Additional string substitutions, @KEY@ to be replaced by value
1422
- * @return bool
1422
+ * @return null|boolean
1423 1423
  *
1424 1424
  * @author Andreas Gohr <[email protected]>
1425 1425
  */
@@ -2047,6 +2047,7 @@  discard block
 block discarded – undo
2047 2047
  * Strips source mapping declarations from given text #601
2048 2048
  *
2049 2049
  * @param string &$text reference to the CSS or JavaScript code to clean
2050
+ * @param string $text
2050 2051
  */
2051 2052
 function stripsourcemaps(&$text){
2052 2053
     $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text);
Please login to merge, or discard this patch.