diff --git a/syntax.php b/syntax.php index c849ce0..af0151a 100644 --- a/syntax.php +++ b/syntax.php @@ -110,7 +110,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 : $args = substr($match, 4, -1); @@ -130,7 +130,7 @@ function handle($match, $state, $pos, &$handler){ /** * Create output */ - function render($mode, &$renderer, $data) { + function render($mode, Doku_Renderer $renderer, $data) { if($mode == 'xhtml'){ list($state, $match) = $data; switch ($state) {