Adjust method signatures to match parent

This commit is contained in:
Andreas Gohr 2016-02-02 16:19:29 +01:00
parent 0007408ce6
commit 16282178d6

View File

@ -50,7 +50,7 @@ class syntax_plugin_s5 extends DokuWiki_Syntax_Plugin {
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
if($match!='~~SLIDESHOW~~') return array(trim(substr($match,11,-2)));
return array();
}
@ -58,7 +58,7 @@ class syntax_plugin_s5 extends DokuWiki_Syntax_Plugin {
/**
* Create output
*/
function render($format, &$renderer, $data) {
function render($format, Doku_Renderer $renderer, $data) {
global $ID;
if($format != 'xhtml') return false;