diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Twig/WallabagExtension.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index 6b860c96..1a308070 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php | |||
@@ -6,9 +6,9 @@ class WallabagExtension extends \Twig_Extension | |||
6 | { | 6 | { |
7 | public function getFilters() | 7 | public function getFilters() |
8 | { | 8 | { |
9 | return array( | 9 | return [ |
10 | new \Twig_SimpleFilter('removeWww', array($this, 'removeWww')), | 10 | new \Twig_SimpleFilter('removeWww', [$this, 'removeWww']), |
11 | ); | 11 | ]; |
12 | } | 12 | } |
13 | 13 | ||
14 | public function removeWww($url) | 14 | public function removeWww($url) |