Skip to content

Commit

Permalink
fixs to camelCase for psr
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Jun 18, 2017
1 parent c31c8ee commit 4d793f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct() {
public static function getHooks() {
return [
'function.requirements' => [__CLASS__, 'Requirements'],
'licenses.settings' => [__CLASS__, 'Settings'],
'licenses.settings' => [__CLASS__, 'getSettings'],
'licenses.activate' => [__CLASS__, 'Activate'],
'licenses.change_ip' => [__CLASS__, 'ChangeIp'],
'ui.menu' => [__CLASS__, 'Menu'],
Expand Down Expand Up @@ -87,7 +87,7 @@ public static function Requirements(GenericEvent $event) {
$loader->add_requirement('vps_add_fantastico', '/vps/addons/vps_add_fantastico.php');
}

public static function Settings(GenericEvent $event) {
public static function getSettings(GenericEvent $event) {
// will be executed when the licenses.settings event is dispatched
$settings = $event->getSubject();
$settings->add_text_setting('licenses', 'Fantastico', 'fantastico_username', 'Fantastico Username:', 'Fantastico Username', $settings->get_setting('FANTASTICO_USERNAME'));
Expand Down

0 comments on commit 4d793f2

Please sign in to comment.