Skip to content

Commit 8e93ccb

Browse files
committed
fixs to camelCase for psr
1 parent b67bc35 commit 8e93ccb

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
'licenses.load_processing' => [__CLASS__, 'Load'],
22-
'licenses.settings' => [__CLASS__, 'Settings'],
22+
'licenses.settings' => [__CLASS__, 'getSettings'],
2323
];
2424
}
2525

@@ -64,7 +64,7 @@ public static function Load(GenericEvent $event) {
6464

6565
}
6666

67-
public static function Settings(GenericEvent $event) {
67+
public static function getSettings(GenericEvent $event) {
6868
// will be executed when the licenses.settings event is dispatched
6969
$settings = $event->getSubject();
7070
$settings->add_dropdown_setting('licenses', 'General', 'outofstock_licenses', 'Out Of Stock Licenses', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_LICENSES'), array('0', '1'), array('No', 'Yes', ));

0 commit comments

Comments
 (0)