X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FUserBundle%2FEventListener%2FPasswordResettingListener.php;h=7df093f1bc3298de413c8dbf881506086ad197d0;hb=5bb01c034424b56a0a0ae4bc34ae5bb9a514deba;hp=2fdcb4419a99398d113b9b9c916a833011c1abdf;hpb=0f0e8eb82a3374e20453fb1f8046325ee306b036;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php b/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php index 2fdcb441..7df093f1 100644 --- a/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php +++ b/src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php @@ -2,14 +2,14 @@ namespace Wallabag\UserBundle\EventListener; -use FOS\UserBundle\FOSUserEvents; use FOS\UserBundle\Event\FormEvent; +use FOS\UserBundle\FOSUserEvents; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; /** - * Listener responsible to change the redirection at the end of the password resetting + * Listener responsible to change the redirection at the end of the password resetting. * * @see http://symfony.com/doc/current/bundles/FOSUserBundle/controller_events.html */ @@ -23,13 +23,13 @@ class PasswordResettingListener implements EventSubscriberInterface } /** - * {@inheritDoc} + * {@inheritdoc} */ public static function getSubscribedEvents() { - return array( + return [ FOSUserEvents::RESETTING_RESET_SUCCESS => 'onPasswordResettingSuccess', - ); + ]; } public function onPasswordResettingSuccess(FormEvent $event)