Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

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 f3bc934 commit d87dc6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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 :
$this->h_level = 7 - strspn($match,"=");
Expand All @@ -68,7 +68,7 @@ function handle($match, $state, $pos, &$handler){
/**
* Create output
*/
function render($format, &$renderer, $data) {
function render($format, Doku_Renderer $renderer, $data) {
list($state,$level,$pos) = $data;
switch ($state) {
case DOKU_LEXER_ENTER :
Expand Down

0 comments on commit d87dc6e

Please sign in to comment.