forked from wallabag/wallabag
Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
This commit is contained in:
@ -6,9 +6,9 @@ class WallabagExtension extends \Twig_Extension
|
||||
{
|
||||
public function getFilters()
|
||||
{
|
||||
return array(
|
||||
new \Twig_SimpleFilter('removeWww', array($this, 'removeWww')),
|
||||
);
|
||||
return [
|
||||
new \Twig_SimpleFilter('removeWww', [$this, 'removeWww']),
|
||||
];
|
||||
}
|
||||
|
||||
public function removeWww($url)
|
||||
|
||||
Reference in New Issue
Block a user