From b573f679114cf6872d0622ce4e3131d60b3b910a Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 22 Jan 2016 17:33:34 +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 a7aaa0d..c3cda86 100644 --- a/syntax.php +++ b/syntax.php @@ -138,7 +138,7 @@ function connectTo($mode) * Handle match */ // is called without config, but do not know by whom, possibly with literal match - function handle($match, $state, $pos, &$handler) + function handle($match, $state, $pos, Doku_Handler $handler) { // groupmanager only $data = array(null, $state, $pos); @@ -171,7 +171,7 @@ function handle($match, $state, $pos, &$handler) /** * Render it */ - function render($mode, &$renderer, $data) + function render($mode, Doku_Renderer $renderer, $data) { // start usermanager global $auth;