Failed Conditions
Push — psr2 ( d2778c...de3699 )
by Andreas
06:25 queued 03:28
created
lib/plugins/info/syntax.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param   int          $state   The lexer state for the match
45 45
      * @param   int          $pos     The character position of the matched text
46 46
      * @param   Doku_Handler $handler The Doku_Handler object
47
-     * @return  array Return an array with all data you want to use in render
47
+     * @return  string[] Return an array with all data you want to use in render
48 48
      */
49 49
     public function handle($match, $state, $pos, Doku_Handler $handler){
50 50
         $match = substr($match,7,-2); //strip ~~INFO: from start and ~~ from end
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
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
      * keep track of internal links in $this->meta['relation']['references']
409 409
      *
410 410
      * @param string            $id   page ID to link to. eg. 'wiki:syntax'
411
-     * @param string|array|null $name name for the link, array for media file
411
+     * @param string $name name for the link, array for media file
412 412
      */
413 413
     public function internallink($id, $name = null) {
414 414
         global $ID;
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
      *
580 580
      * @param string $name
581 581
      *
582
-     * @return mixed|string
582
+     * @return string
583 583
      */
584 584
     public function _simpleTitle($name) {
585 585
         global $conf;
Please login to merge, or discard this patch.