From e7324c7ba0e36a2c273fa6416381ae7331b152a7 Mon Sep 17 00:00:00 2001 From: Joe Huss Date: Sun, 18 Jun 2017 01:47:20 -0400 Subject: [PATCH] fixs to camelCase for psr --- src/Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin.php b/src/Plugin.php index f20f89d..4111423 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -19,7 +19,7 @@ public function __construct() { public static function getHooks() { return [ 'domains.load_processing' => [__CLASS__, 'Load'], - 'domains.settings' => [__CLASS__, 'Settings'], + 'domains.settings' => [__CLASS__, 'getSettings'], ]; } @@ -27,7 +27,7 @@ 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', )); }