Permalink
Browse files

Fix compatibility Warning with Greebo version (#15)

I don't use it anymore, and I didn't test anything. But if it's useful to some people, let's merge it.
  • Loading branch information...
iosonopersia authored and dr4Ke committed Jul 16, 2018
1 parent 6755668 commit b29e555363ced4afe52b4077362e1ed3169e3744
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax.php
View
@@ -57,7 +57,7 @@ function postConnect() {
// Handle the match
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
switch ($state) {
case DOKU_LEXER_ENTER :
break;
@@ -77,7 +77,7 @@ function handle($match, $state, $pos, &$handler){
}
// Create output
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
if($mode == 'xhtml'){
list($state, $color, $text) = $data;
switch ($state) {

0 comments on commit b29e555

Please sign in to comment.