There was an error while loading. Please reload this page.
1 parent 55cdf26 commit 89ee0e7Copy full SHA for 89ee0e7
syntax.php
@@ -45,7 +45,7 @@ function connectTo($mode) {
45
/**
46
* Handle the match
47
*/
48
- function handle($match, $state, $pos, &$handler) {
+ function handle($match, $state, $pos, Doku_Handler $handler) {
49
$info = $this->getInfo();
50
51
// prepare default data
@@ -97,7 +97,7 @@ function _cachename($data,$ext){
97
98
* Create output
99
100
- function render($format, &$R, $data) {
+ function render($format, Doku_Renderer $R, $data) {
101
if($format == 'xhtml'){
102
$img = DOKU_BASE.'lib/plugins/graphviz/img.php?'.buildURLparams($data);
103
$R->doc .= '<img src="'.$img.'" class="media'.$data['align'].'" alt=""';
0 commit comments