summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-09-29 03:34:17 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-09-29 03:34:17 +0200
commite0c26282a603881e8d2f839d94c28dbbfc57d71b (patch)
treeb6b4b7d04d4abc5c6a5121225aefd518d778712b /inc/parser
parentda9572711f54d13ce3c5506971154b0bc359723f (diff)
downloadrpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.gz
rpg-e0c26282a603881e8d2f839d94c28dbbfc57d71b.tar.bz2
scrutinizer documentations issues
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/metadata.php2
-rw-r--r--inc/parser/xhtml.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php
index 25bf3fe3d..4619c24ce 100644
--- a/inc/parser/metadata.php
+++ b/inc/parser/metadata.php
@@ -165,7 +165,7 @@ class Doku_Renderer_metadata extends Doku_Renderer {
if(!isset($this->meta['title'])) $this->meta['title'] = $text;
// add the header to the TOC
- $hid = $this->_headerToLink($text, 'true');
+ $hid = $this->_headerToLink($text, true);
$this->toc_additem($hid, $text, $level);
// add to summary
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 44ead9d45..cd4b3d6e5 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -1571,7 +1571,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
* Returns HTML code for images used in link titles
*
* @author Andreas Gohr <andi@splitbrain.org>
- * @param string $img
+ * @param array $img
* @return string HTML img tag or similar
*/
function _imageTitle($img) {