diff --git a/syntax.php b/syntax.php index 518d027..bf9a137 100644 --- a/syntax.php +++ b/syntax.php @@ -45,7 +45,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 @@ -97,7 +97,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/graphviz/img.php?'.buildURLparams($data); $R->doc .= '