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 43da84a commit 34b4ff7
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 @@ -19,15 +19,15 @@ public function __construct() {
public static function getHooks() {
return [
'backups.load_processing' => [__CLASS__, 'Load'],
'backups.settings' => [__CLASS__, 'Settings'],
'backups.settings' => [__CLASS__, 'getSettings'],
];
}

public static function Load(GenericEvent $event) {

}

public static function Settings(GenericEvent $event) {
public static function getSettings(GenericEvent $event) {
$settings = $event->getSubject();
$settings->add_dropdown_setting('backups', 'General', 'outofstock_backups', 'Out Of Stock Backups', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_BACKUPS'), array('0', '1'), array('No', 'Yes', ));
}
Expand Down

0 comments on commit 34b4ff7

Please sign in to comment.