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 2, 2016
1 parent 16e8b89 commit 41d5bb9
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 @@ -37,7 +37,7 @@ function connectTo($mode) {
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler) {
function handle($match, $state, $pos, Doku_Handler $handler) {

$match = substr($match, 7, -2);
list($base, $title) = explode('|', $match, 2);
Expand All @@ -58,7 +58,7 @@ function handle($match, $state, $pos, &$handler) {
/**
* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {

// construct requested URL
$base = hsc($data[0]);
Expand Down

0 comments on commit 41d5bb9

Please sign in to comment.