diff --git a/syntax/syntax.php b/syntax/syntax.php index 9794a92..cdc68b3 100755 --- a/syntax/syntax.php +++ b/syntax/syntax.php @@ -47,7 +47,7 @@ public function connectTo($mode) { * @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){ $dropwrapper = trim(substr(substr($match,11),0,-2)); $exploded = explode(' ',$dropwrapper); @@ -122,7 +122,7 @@ public function handle($match, $state, $pos, Doku_Handler &$handler){ * @param array $data The data from the handler() function * @return bool If rendering was successful. */ - public function render($mode, Doku_Renderer &$renderer, $data) { + public function render($mode, Doku_Renderer $renderer, $data) { if($mode == 'metadata') { //dbglog("In render metadata");