X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FUserBundle%2FEventListener%2FPasswordResettingListener.php;h=3a7f2637af9cfa351c6ccf055d117722224bfeef;hb=4094ea47712efbe58624ff74daeb1f77c9b0edcf;hp=128e85a424769e6530cd116be278201191214991;hpb=23afdf3a70a5035cb58b76138a8627701ba55273;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php b/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php index 128e85a4..3a7f2637 100644 --- a/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php +++ b/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php @@ -27,9 +27,9 @@ class PasswordResettingListener implements EventSubscriberInterface */ public static function getSubscribedEvents() { - return array( + return [ FOSUserEvents::RESETTING_RESET_SUCCESS => 'onPasswordResettingSuccess', - ); + ]; } public function onPasswordResettingSuccess(FormEvent $event)