Merge pull request #17 from splitbrain-forks/php7-signature

Adjust method signatures to match parent
This commit is contained in:
Andreas Gohr 2016-02-02 16:21:33 +01:00
commit e9ca6a1a4d

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;