X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FEventListener%2FRegistrationConfirmedListener.php;h=10586126fe35f43ef5ae45a1d1e635686259adb0;hb=4094ea47712efbe58624ff74daeb1f77c9b0edcf;hp=1c9160d5651d7a2247562bb6cc1e3e5705ce8c8d;hpb=7eccbda99f16dc39ee01a0c81ab88293e9b268fd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/EventListener/RegistrationConfirmedListener.php b/src/Wallabag/CoreBundle/EventListener/RegistrationConfirmedListener.php index 1c9160d5..10586126 100644 --- a/src/Wallabag/CoreBundle/EventListener/RegistrationConfirmedListener.php +++ b/src/Wallabag/CoreBundle/EventListener/RegistrationConfirmedListener.php @@ -28,9 +28,9 @@ class RegistrationConfirmedListener implements EventSubscriberInterface public static function getSubscribedEvents() { - return array( + return [ FOSUserEvents::REGISTRATION_CONFIRMED => 'authenticate', - ); + ]; } public function authenticate(FilterUserResponseEvent $event, $eventName = null, EventDispatcherInterface $eventDispatcher = null)