Skip to content

Commit

Permalink
Merge pull request #11 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
splitbrain committed Feb 3, 2016
2 parents 0cefd08 + 927440d commit a796f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Expand Up @@ -63,7 +63,7 @@ public function postConnect() {
* @param Doku_Handler $handler The handler
* @return array Data for the renderer
*/
public function handle($match, $state, $pos, &$handler){
public function handle($match, $state, $pos, Doku_Handler $handler){
global $conf;
$first = false;
$img = '';
Expand Down Expand Up @@ -133,7 +133,7 @@ public function handle($match, $state, $pos, &$handler){
* @param array $data The data from the handler() function
* @return bool If rendering was successful.
*/
public function render($mode, &$R, $data) {
public function render($mode, Doku_Renderer $R, $data) {
if($mode != 'xhtml') return false;
list($state, $img, $first) = $data;

Expand Down

0 comments on commit a796f4a

Please sign in to comment.