Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust method signatures to match parent #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.php
Expand Up @@ -26,7 +26,7 @@ function getInfo() {
);
}

function register(&$contr) {
function register(Doku_Event_Handler $contr) {
$contr->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handle_ajax_call', array());
}

Expand Down
4 changes: 2 additions & 2 deletions syntax.php
Expand Up @@ -77,7 +77,7 @@ function connectTo($mode) {
/**
* Handler to prepare matched data for the rendering process
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){

$data = array();
$charts = array('topartists', 'topalbums', 'toptracks', 'tags', 'friends',
Expand Down Expand Up @@ -116,7 +116,7 @@ function handle($match, $state, $pos, &$handler){
/**
* Handles the actual output creation.
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
global $ID;
global $lang;

Expand Down