Changed Internal Callbacks formats to use objects directly instead of an array
This commit is contained in:
@ -51,10 +51,8 @@ class SimpleStatsList implements ManialinkPageAnswerListener, CallbackListener,
|
||||
|
||||
/**
|
||||
* Add the menu entry
|
||||
*
|
||||
* @param array $callback
|
||||
*/
|
||||
public function handleOnInit(array $callback) {
|
||||
public function handleOnInit() {
|
||||
$this->maniaControl->commandManager->registerCommandListener('stats', $this, 'command_ShowStatsList');
|
||||
|
||||
// Action Open StatsList
|
||||
|
Reference in New Issue
Block a user