From b6ff5da79a899be95ff1858aab5ee4626f9ac6c5 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 22 Jan 2016 17:45:32 +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 c3fd8cd..11f652f 100644 --- a/syntax.php +++ b/syntax.php @@ -216,7 +216,7 @@ private function reduceRecipeLine($carry, $item) { * @param Doku_Handler $handler The handler * @return Array Data for the renderer */ - public function handle($match, $state, $pos, Doku_Handler &$handler) { + public function handle($match, $state, $pos, Doku_Handler $handler) { //-- Do not handle comments! if (isset($_REQUEST['comment'])) return false; @@ -274,7 +274,7 @@ public function handle($match, $state, $pos, Doku_Handler &$handler) { * @param Array $data The data from the handler() function * @return boolean If rendering was successful. */ - public function render($mode, Doku_Renderer &$renderer, $data) { + public function render($mode, Doku_Renderer $renderer, $data) { global $ID; //-- Leere Daten nicht ber�cksichtigen.