Skip to content

Commit

Permalink
Adjust method signatures to match parent
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Feb 3, 2016
1 parent 11488d5 commit 602287e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
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 602287e

Please sign in to comment.