Skip to content

Commit

Permalink
Adjust method signatures to match parent
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jan 24, 2016
1 parent e435eb8 commit 2019202
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class action_plugin_textrotate extends DokuWiki_Action_Plugin {
/**
* Register the eventhandlers
*/
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
$controller->register_hook('TOOLBAR_DEFINE', 'AFTER', $this, 'insert_button', array ());
}

Expand Down
4 changes: 2 additions & 2 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function postConnect() {
/*
* Handle the matches
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){

switch ($state) {
case DOKU_LEXER_ENTER :
Expand All @@ -75,7 +75,7 @@ function handle($match, $state, $pos, &$handler){
/*
* Create output
*/
function render($mode, &$renderer, $data)
function render($mode, Doku_Renderer $renderer, $data)
{
global $INFO;

Expand Down

0 comments on commit 2019202

Please sign in to comment.