Skip to content
Permalink
Browse files

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

Adjust method signatures to match parent
  • Loading branch information...
samwilson committed Feb 2, 2016
2 parents 0a6ec0c + ffbce80 commit 922f4798e542b27a5af56b97a3deddc63f3949ef
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax.php
@@ -58,7 +58,7 @@ public function postConnect() {
* @param Doku_Handler $handler The handler
* @return array Data for the renderer
*/
public function handle($match, $state, $pos, Doku_Handler &$handler) {
public function handle($match, $state, $pos, Doku_Handler $handler) {
global $conf;
$data = array();
// Are we to handle this match? If not, don't.
@@ -97,7 +97,7 @@ public function handle($match, $state, $pos, Doku_Handler &$handler) {
* @param array $data The data from the handler() function
* @return bool If rendering was successful.
*/
public function render($mode, Doku_Renderer &$renderer, $data) {
public function render($mode, Doku_Renderer $renderer, $data) {
if ($mode != 'xhtml') {
return false;
}

0 comments on commit 922f479

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