Skip to content

Commit

Permalink
Merge pull request #5 from splitbrain-forks/php7-signature
Browse files Browse the repository at this point in the history
Adjust method signatures to match parent. Blindly merged with automatic proposal from Splitbrain
  • Loading branch information
haraldronge authored Sep 14, 2017
2 parents 633358a + b573f67 commit bcc6153
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 @@ -138,7 +138,7 @@ function connectTo($mode)
* Handle match
*/
// is called without config, but do not know by whom, possibly with literal match
function handle($match, $state, $pos, &$handler)
function handle($match, $state, $pos, Doku_Handler $handler)
{
// groupmanager only
$data = array(null, $state, $pos);
Expand Down Expand Up @@ -171,7 +171,7 @@ function handle($match, $state, $pos, &$handler)
/**
* Render it
*/
function render($mode, &$renderer, $data)
function render($mode, Doku_Renderer $renderer, $data)
{
// start usermanager
global $auth;
Expand Down

0 comments on commit bcc6153

Please sign in to comment.