Skip to content

Commit

Permalink
Merge pull request #1 from splitbrain-forks/php7-signature
Browse files Browse the repository at this point in the history
Adjust method signatures to match parent
  • Loading branch information
turnermm committed Feb 2, 2016
2 parents 7faead9 + e4cfd0d commit 020fc23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Expand Up @@ -54,7 +54,7 @@ function getPType() { return "stack"; }
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){

$padding = 0;
$width = "100%";
Expand Down Expand Up @@ -142,7 +142,7 @@ function handle($match, $state, $pos, &$handler){
/**
* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
if($mode == 'xhtml'){
list($state, $match) = $data;

Expand Down

0 comments on commit 020fc23

Please sign in to comment.