From 88000db20d2a8ab685e455f17a676539c7c0f7e8 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Feb 2016 13:09:53 +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 9ac4c34..8574d45 100644 --- a/syntax.php +++ b/syntax.php @@ -59,7 +59,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { /** * Handle the match */ - function handle($match, $state, $pos, &$handler) { + function handle($match, $state, $pos, Doku_Handler $handler) { // do not allow the syntax in comments if (!$this->getConf('allow_in_comments') && isset($_REQUEST['comment'])) @@ -112,7 +112,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { /** * Create output */ - function render($mode, &$renderer, $data) { + function render($mode, Doku_Renderer $renderer, $data) { global $conf; list($type, $pattern, $params, $title, $pos) = $data;