Skip to content

Commit

Permalink
Fix for PHP Strict
Browse files Browse the repository at this point in the history
  • Loading branch information
gamma committed Jul 15, 2014
1 parent 681b949 commit 9b90c5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntax/span.php
Expand Up @@ -37,7 +37,7 @@ function postConnect() { $this->Lexer->addExitPattern('\+\+','plugin_folded_span
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
if ($state == DOKU_LEXER_ENTER){
$match = trim(substr($match,2,-1)); // strip markup
} else if ($state == DOKU_LEXER_UNMATCHED) {
Expand All @@ -50,7 +50,7 @@ function handle($match, $state, $pos, &$handler){
/**
* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
global $plugin_folded_count;

if (empty($data)) return false;
Expand Down Expand Up @@ -82,4 +82,4 @@ function render($mode, &$renderer, $data) {
}
return false;
}
}
}

0 comments on commit 9b90c5f

Please sign in to comment.