Skip to content

Commit 89ee0e7

Browse files
committed
Adjust method signatures to match parent
1 parent 55cdf26 commit 89ee0e7

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
@@ -45,7 +45,7 @@ function connectTo($mode) {
4545
/**
4646
* Handle the match
4747
*/
48-
function handle($match, $state, $pos, &$handler) {
48+
function handle($match, $state, $pos, Doku_Handler $handler) {
4949
$info = $this->getInfo();
5050

5151
// prepare default data
@@ -97,7 +97,7 @@ function _cachename($data,$ext){
9797
/**
9898
* Create output
9999
*/
100-
function render($format, &$R, $data) {
100+
function render($format, Doku_Renderer $R, $data) {
101101
if($format == 'xhtml'){
102102
$img = DOKU_BASE.'lib/plugins/graphviz/img.php?'.buildURLparams($data);
103103
$R->doc .= '<img src="'.$img.'" class="media'.$data['align'].'" alt=""';

0 commit comments

Comments
 (0)