Skip to content

Commit

Permalink
Merge pull request #3 from splitbrain-forks/php7-signature
Browse files Browse the repository at this point in the history
Adjust method signatures to match parent
  • Loading branch information
splitbrain committed Feb 2, 2016
2 parents c452dcb + 35913ac commit a77ef1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax/ticker.php
Expand Up @@ -52,7 +52,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){
if ($state !== 3) {
return array();
}
Expand Down Expand Up @@ -90,7 +90,7 @@ public function cleanData($data) {
* @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;
if (empty($data)) return false;

Expand Down

0 comments on commit a77ef1a

Please sign in to comment.