Skip to content

Commit f0abbd1

Browse files
committed
Adjust method signatures to match parent
1 parent d746aec commit f0abbd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function connectTo($mode) {
5252
/**
5353
* Handle the match
5454
*/
55-
function handle($match, $state, $pos, &$handler){
55+
function handle($match, $state, $pos, Doku_Handler $handler){
5656
$match = trim(substr($match,7,-2));
5757

5858
list($link,$name) = explode('|',$match,2);
@@ -70,7 +70,7 @@ function handle($match, $state, $pos, &$handler){
7070
/**
7171
* Create output
7272
*/
73-
function render($format, &$R, $data) {
73+
function render($format, Doku_Renderer $R, $data) {
7474
global $conf;
7575
if($format != 'xhtml') return false;
7676

0 commit comments

Comments
 (0)