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 5696560 commit e7324c7
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 [
'domains.load_processing' => [__CLASS__, 'Load'],
'domains.settings' => [__CLASS__, 'Settings'],
'domains.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('domains', 'General', 'outofstock_domains', 'Out Of Stock Domains', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_DOMAINS'), array('0', '1'), array('No', 'Yes', ));
}
Expand Down

0 comments on commit e7324c7

Please sign in to comment.