Skip to content

Commit

Permalink
Merge pull request lupo49#2 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
Matthias Schulte committed Mar 5, 2016
2 parents 11488d5 + 602287e commit 481cc8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function postConnect() {
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
switch ($state) {
case DOKU_LEXER_ENTER :
$urn = property('db',$match);
Expand Down Expand Up @@ -94,7 +94,7 @@ function handle($match, $state, $pos, &$handler){
/**
* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
$renderer->info['cache'] = false;

if($mode == 'xhtml'){
Expand Down

0 comments on commit 481cc8a

Please sign in to comment.