Skip to content

Commit

Permalink
Adjust method signatures to match parent
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Feb 2, 2016
1 parent 55cdf26 commit 89ee0e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Expand Up @@ -45,7 +45,7 @@ function connectTo($mode) {
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler) {
function handle($match, $state, $pos, Doku_Handler $handler) {
$info = $this->getInfo();

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

0 comments on commit 89ee0e7

Please sign in to comment.