Failed Conditions
Push — wl-redirect-consistency ( e9fede )
by Henry
03:31
created
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   +2 added lines, -1 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;
@@ -2045,6 +2045,7 @@  discard block
 block discarded – undo
2045 2045
  * Strips source mapping declarations from given text #601
2046 2046
  *
2047 2047
  * @param string &$text reference to the CSS or JavaScript code to clean
2048
+ * @param string $text
2048 2049
  */
2049 2050
 function stripsourcemaps(&$text){
2050 2051
     $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text);
Please login to merge, or discard this patch.
inc/PluginTrait.php 1 patch
Doc Comments   +3 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);
@@ -77,6 +78,7 @@  discard block
 block discarded – undo
77 78
 
78 79
     /**
79 80
      * @see DokuWiki_PluginInterface::getLang()
81
+     * @return string|null
80 82
      */
81 83
     public function getLang($id) {
82 84
         if(!$this->localised) $this->setupLocale();
@@ -86,6 +88,7 @@  discard block
 block discarded – undo
86 88
 
87 89
     /**
88 90
      * @see DokuWiki_PluginInterface::locale_xhtml()
91
+     * @param string $id
89 92
      */
90 93
     public function locale_xhtml($id) {
91 94
         return p_cached_output($this->localFN($id));
Please login to merge, or discard this patch.