Skip to content

Commit

Permalink
refactoring for camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Jun 23, 2017
1 parent 53566ed commit 6129629
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 @@ -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();
Expand Down

0 comments on commit 6129629

Please sign in to comment.