From ee4442f42a36d2cfd7add334983a8e126718a788 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 24 Jul 2016 12:14:52 +0200 Subject: CS --- src/Wallabag/UserBundle/Controller/RegistrationController.php | 2 +- src/Wallabag/UserBundle/Controller/SecurityController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Wallabag/UserBundle') diff --git a/src/Wallabag/UserBundle/Controller/RegistrationController.php b/src/Wallabag/UserBundle/Controller/RegistrationController.php index d6d0fda1..f81f3a7b 100644 --- a/src/Wallabag/UserBundle/Controller/RegistrationController.php +++ b/src/Wallabag/UserBundle/Controller/RegistrationController.php @@ -13,6 +13,6 @@ class RegistrationController extends FOSRegistrationController return parent::registerAction($request); } - return $this->redirectToRoute('fos_user_security_login', array(), 301); + return $this->redirectToRoute('fos_user_security_login', [], 301); } } diff --git a/src/Wallabag/UserBundle/Controller/SecurityController.php b/src/Wallabag/UserBundle/Controller/SecurityController.php index 1e752b6d..83fa0b20 100644 --- a/src/Wallabag/UserBundle/Controller/SecurityController.php +++ b/src/Wallabag/UserBundle/Controller/SecurityController.php @@ -14,7 +14,7 @@ class SecurityController extends FOSSecurityController return $this->render('FOSUserBundle:Security:login.html.twig', array_merge( $data, - array('registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')) + ['registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')] ) ); } -- cgit v1.2.3