Permalink
Browse files

Adjust method signatures to match parent

  • Loading branch information...
splitbrain committed Jan 22, 2016
1 parent 64045f7 commit 17221bb4a972073f47ae95055170f9416604bae9
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax.php
View
@@ -21,7 +21,7 @@ function getSort(){ return 100; }
function connectTo($mode) {
$this->Lexer->addSpecialPattern('<<CREDITS:.*?>>',$mode,'plugin_credits'); }
function handle($match, $state, $pos, &$handler) {
function handle($match, $state, $pos, Doku_Handler $handler) {
preg_match('/<<CREDITS:(.*?)>>/', $match,$matches);
return array( $state, $matches[1]);
@@ -31,7 +31,7 @@ function handle($match, $state, $pos, &$handler) {
/**
* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
if($mode == 'xhtml'){
$this->get_plugin_array();
list($state, $match) = $data;

0 comments on commit 17221bb

Please sign in to comment.