From ff0386ae70ecd8fc6570fcc5484b6431ef0e8558 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Feb 2016 16:06:09 +0100 Subject: [PATCH] Adjust method signatures to match parent --- syntax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax.php b/syntax.php index 4236aae..2c9701a 100644 --- a/syntax.php +++ b/syntax.php @@ -38,7 +38,7 @@ public function connectTo($mode) { } - public function handle($match, $state, $pos, &$handler){ + public function handle($match, $state, $pos, Doku_Handler $handler){ $match = explode("|", preg_replace("/^.*?>(.*)}}$/", "$1", $match)); // terms $terms = preg_replace("/[^,a-zA-Z0-9 +]/", "", $match[0]); @@ -55,7 +55,7 @@ public function handle($match, $state, $pos, &$handler){ return $data; } - public function render($mode, &$renderer, $data) { + public function render($mode, Doku_Renderer $renderer, $data) { if($mode != 'xhtml') return false; $renderer->doc .= '