Permalink
Browse files

Adjust method signatures to match parent

  • Loading branch information...
splitbrain committed Jan 24, 2016
1 parent 8ee2766 commit 2a163509bb82a79142b32d4217c2c67938500a3d
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax.php
View
@@ -51,7 +51,7 @@ function connectTo($mode) {
* E.g.: {{yearbox>year=2010;name=journal;size=12;ns=diary}}
*
*/
- function handle($match, $state, $pos, &$handler) {
+ function handle($match, $state, $pos, Doku_Handler $handler) {
global $INFO;
$opt = array();
@@ -105,7 +105,7 @@ function handle($match, $state, $pos, &$handler) {
/**
* Create output
*/
- function render($mode, &$renderer, $opt) {
+ function render($mode, Doku_Renderer $renderer, $opt) {
if ($mode == 'xhtml') {
$renderer->doc .= $this->build_calendar($opt);
return true;

0 comments on commit 2a16350

Please sign in to comment.