diff --git a/syntax.php b/syntax.php index 25f507b..2fb610e 100644 --- a/syntax.php +++ b/syntax.php @@ -65,7 +65,7 @@ function postConnect() { /** * Handle the match */ - function handle($match, $state, $pos, &$handler){ + function handle($match, $state, $pos, Doku_Handler $handler){ switch ($state) { case DOKU_LEXER_ENTER : $urn = property('db',$match); @@ -94,7 +94,7 @@ function handle($match, $state, $pos, &$handler){ /** * Create output */ - function render($mode, &$renderer, $data) { + function render($mode, Doku_Renderer $renderer, $data) { $renderer->info['cache'] = false; if($mode == 'xhtml'){