From 6129629b9d5442c67b7db804ee0cf248421173c6 Mon Sep 17 00:00:00 2001 From: Joe Huss Date: Fri, 23 Jun 2017 18:24:45 -0400 Subject: [PATCH] refactoring for camelCase --- src/Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin.php b/src/Plugin.php index 27c1ef5..13a8bcc 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -18,12 +18,12 @@ public function __construct() { public static function getHooks() { return [ - 'vps.load_addons' => [__CLASS__, 'Load'], + 'vps.load_addons' => [__CLASS__, 'getAddon'], 'vps.settings' => [__CLASS__, 'getSettings'], ]; } - public static function Load(GenericEvent $event) { + public static function getAddon(GenericEvent $event) { $service = $event->getSubject(); function_requirements('class.Addon'); $addon = new \Addon();