Adjust method signatures to match parent

This commit is contained in:
Andreas Gohr
2016-02-02 13:09:53 +01:00
parent 30af0de757
commit 88000db20d

View File

@@ -59,7 +59,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
/** /**
* Handle the match * Handle the match
*/ */
function handle($match, $state, $pos, &$handler) { function handle($match, $state, $pos, Doku_Handler $handler) {
// do not allow the syntax in comments // do not allow the syntax in comments
if (!$this->getConf('allow_in_comments') && isset($_REQUEST['comment'])) if (!$this->getConf('allow_in_comments') && isset($_REQUEST['comment']))
@@ -112,7 +112,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin {
/** /**
* Create output * Create output
*/ */
function render($mode, &$renderer, $data) { function render($mode, Doku_Renderer $renderer, $data) {
global $conf; global $conf;
list($type, $pattern, $params, $title, $pos) = $data; list($type, $pattern, $params, $title, $pos) = $data;