Skip to content

Commit af73f69

Browse files
committed
fixs to camelCase for psr
1 parent 7826f1f commit af73f69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct() {
1717

1818
public static function getHooks() {
1919
return [
20-
'system.settings' => [__CLASS__, 'Settings'],
20+
'system.settings' => [__CLASS__, 'getSettings'],
2121
];
2222
}
2323

@@ -51,7 +51,7 @@ public static function Requirements(GenericEvent $event) {
5151
$loader->add_requirement('get_abuse_licenses', '/../vendor/detain/myadmin-abuse-plugin/src/abuse.inc.php');
5252
}
5353

54-
public static function Settings(GenericEvent $event) {
54+
public static function getSettings(GenericEvent $event) {
5555
// will be executed when the licenses.settings event is dispatched
5656
$settings = $event->getSubject();
5757
$settings->add_text_setting('General', 'Abuse', 'abuse_imap_user', 'Abuse IMAP User:', 'Abuse IMAP Username', ABUSE_IMAP_USER);

0 commit comments

Comments
 (0)