Skip to content
Permalink
Browse files

Merge pull request #5 from splitbrain-forks/php7-signature

Adjust method signatures to match parent
  • Loading branch information...
michitux committed Feb 27, 2016
2 parents cf72f2a + 34aab73 commit af3560d66803a473be6a9dd33c95e23af7874f59
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax.php
@@ -42,7 +42,7 @@ function connectTo($mode) { $this->Lexer->addSpecialPattern('\{\{mp3play>.*?\}\}
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
$match = substr($match, 10, -2);
$data = array();
if(file_exists(mediaFN($mp3))) {
@@ -77,7 +77,7 @@ function handle($match, $state, $pos, &$handler){
/**
* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
global $ID;
if(empty($data['mp3'])) return;

0 comments on commit af3560d

Please sign in to comment.
You can’t perform that action at this time.