From 89ee0e718f2a7dcadd2a6f5b6a54515f9a5f4ef9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Feb 2016 16:06:35 +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 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 .= '