X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FEventListener%2FRegistrationConfirmedListener.php;h=10586126fe35f43ef5ae45a1d1e635686259adb0;hb=8315130a75c8f411f76134b6205a017409583d50;hp=1c9160d5651d7a2247562bb6cc1e3e5705ce8c8d;hpb=86719c63bf47686ca55020e6b0443344de36d45a;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)