Skip to content

Commit e20960f

Browse files
committed
fixs to camelCase for psr
1 parent 39dcf75 commit e20960f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct() {
1919
public static function getHooks() {
2020
return [
2121
'vps.load_addons' => [__CLASS__, 'Load'],
22-
'vps.settings' => [__CLASS__, 'Settings'],
22+
'vps.settings' => [__CLASS__, 'getSettings'],
2323
];
2424
}
2525

@@ -56,7 +56,7 @@ function_requirements('deactivate_directadmin');
5656
deactivate_directadmin($serviceInfo[$settings['PREFIX'].'_ip']);
5757
}
5858

59-
public static function Settings(GenericEvent $event) {
59+
public static function getSettings(GenericEvent $event) {
6060
$module = 'vps';
6161
$settings = $event->getSubject();
6262
$settings->add_text_setting($module, 'Addon Costs', 'vps_da_cost', 'VPS DirectAdmin License:', 'This is the cost for purchasing a direct admin license on top of a VPS.', $settings->get_setting('VPS_DA_COST'));

0 commit comments

Comments
 (0)