php-cs-fixer pass

This commit is contained in:
Simounet 2016-07-20 23:08:04 +02:00
parent 40288b7166
commit 57c608fa94
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class FooterController extends Controller class FooterController extends Controller
{ {
/** /**
* Display the footer * Display the footer.
* *
* @return \Symfony\Component\HttpFoundation\Response * @return \Symfony\Component\HttpFoundation\Response
*/ */
@ -15,11 +15,12 @@ class FooterController extends Controller
{ {
$addonsUrl = $this->container->getParameter('addons_url'); $addonsUrl = $this->container->getParameter('addons_url');
$socialsUrl = $this->container->getParameter('socials_url'); $socialsUrl = $this->container->getParameter('socials_url');
return $this->render( return $this->render(
'WallabagCoreBundle::footer.html.twig', 'WallabagCoreBundle::footer.html.twig',
[ [
'addonsUrl' => $addonsUrl, 'addonsUrl' => $addonsUrl,
'socialsUrl' => $socialsUrl 'socialsUrl' => $socialsUrl,
] ]
); );
} }

View File

@ -13,6 +13,7 @@ class StaticController extends Controller
public function howtoAction() public function howtoAction()
{ {
$addonsUrl = $this->container->getParameter('addons_url'); $addonsUrl = $this->container->getParameter('addons_url');
return $this->render( return $this->render(
'WallabagCoreBundle:Static:howto.html.twig', 'WallabagCoreBundle:Static:howto.html.twig',
['addonsUrl' => $addonsUrl] ['addonsUrl' => $addonsUrl]