Skip to content

Commit

Permalink
Merge pull request #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
tklingert committed Jan 31, 2016
2 parents c6af8ae + a0cb33a commit 92360e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax/workitemlink.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function connectTo($mode) {
$this->Lexer->addSpecialPattern('\[\[wi>.+?\]\]', $mode,'plugin_tfslink_workitemlink');
}

function handle($match, $state, $pos, &$handler) {
function handle($match, $state, $pos, Doku_Handler $handler) {
$data = array();

/* samples:
Expand Down Expand Up @@ -57,7 +57,7 @@ function handle($match, $state, $pos, &$handler) {

return $data;
}
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
if($mode != 'xhtml') return false;

if (isset($data['error']))
Expand Down

0 comments on commit 92360e0

Please sign in to comment.