diff --git a/syntax.php b/syntax.php index e842f42..172a221 100644 --- a/syntax.php +++ b/syntax.php @@ -46,7 +46,7 @@ function connectTo($mode) { /** * Handle the match */ - function handle($match, $state, $pos, &$handler) { + function handle($match, $state, $pos, Doku_Handler $handler) { $info = $this->getInfo(); // prepare default data @@ -98,7 +98,7 @@ function _cachename($data,$ext){ /** * Create output */ - function render($format, &$R, $data) { + function render($format, Doku_Renderer $R, $data) { if($format == 'xhtml'){ $img = DOKU_BASE.'lib/plugins/seqdia/img.php?'.buildURLparams($data); $R->doc .= '