diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 11:36:01 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 12:25:29 +0200 |
commit | 4094ea47712efbe58624ff74daeb1f77c9b0edcf (patch) | |
tree | 3d2c168092d0208e6ba888de969252a54bf0c6c1 /src/Wallabag/CoreBundle/Controller/StaticController.php | |
parent | 7eccbda99f16dc39ee01a0c81ab88293e9b268fd (diff) | |
download | wallabag-4094ea47712efbe58624ff74daeb1f77c9b0edcf.tar.gz wallabag-4094ea47712efbe58624ff74daeb1f77c9b0edcf.tar.zst wallabag-4094ea47712efbe58624ff74daeb1f77c9b0edcf.zip |
Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/StaticController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/StaticController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 5b7bd56e..b41302f8 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php | |||
@@ -14,7 +14,7 @@ class StaticController extends Controller | |||
14 | { | 14 | { |
15 | return $this->render( | 15 | return $this->render( |
16 | 'WallabagCoreBundle:Static:howto.html.twig', | 16 | 'WallabagCoreBundle:Static:howto.html.twig', |
17 | array() | 17 | [] |
18 | ); | 18 | ); |
19 | } | 19 | } |
20 | 20 | ||
@@ -25,10 +25,10 @@ class StaticController extends Controller | |||
25 | { | 25 | { |
26 | return $this->render( | 26 | return $this->render( |
27 | 'WallabagCoreBundle:Static:about.html.twig', | 27 | 'WallabagCoreBundle:Static:about.html.twig', |
28 | array( | 28 | [ |
29 | 'version' => $this->getParameter('wallabag_core.version'), | 29 | 'version' => $this->getParameter('wallabag_core.version'), |
30 | 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'), | 30 | 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'), |
31 | ) | 31 | ] |
32 | ); | 32 | ); |
33 | } | 33 | } |
34 | 34 | ||
@@ -39,7 +39,7 @@ class StaticController extends Controller | |||
39 | { | 39 | { |
40 | return $this->render( | 40 | return $this->render( |
41 | 'WallabagCoreBundle:Static:quickstart.html.twig', | 41 | 'WallabagCoreBundle:Static:quickstart.html.twig', |
42 | array() | 42 | [] |
43 | ); | 43 | ); |
44 | } | 44 | } |
45 | } | 45 | } |