]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/EventListener/PasswordResettingListener.php
Convert array + phpDoc
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / EventListener / PasswordResettingListener.php
index 2fdcb4419a99398d113b9b9c916a833011c1abdf..3a7f2637af9cfa351c6ccf055d117722224bfeef 100644 (file)
@@ -9,7 +9,7 @@ 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)