From 2ae8d19be39fd12cfb6945ac3a3f531b00f57648 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Feb 2016 13:10:58 +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 31c1b16..3aacef0 100644 --- a/syntax.php +++ b/syntax.php @@ -33,7 +33,7 @@ function connectTo($mode) { $this->Lexer->addSpecialPattern('',$mode,'plugin_function'); } - function handle($match, $state, $pos, &$handler){ + function handle($match, $state, $pos, Doku_Handler $handler){ switch ($state) { case DOKU_LEXER_SPECIAL : return array($state, $match); @@ -42,7 +42,7 @@ function handle($match, $state, $pos, &$handler){ } } - function render($mode, &$renderer, $indata) { + function render($mode, Doku_Renderer $renderer, $indata) { global $conf; if($mode == 'xhtml'){ list($state, $data) = $indata;