mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-26 18:21:02 +00:00
Fix some self deprecation notices
This commit is contained in:
parent
5a8b581adf
commit
98ed784af3
47 changed files with 57 additions and 49 deletions
|
@ -36,7 +36,7 @@ class WallabagExtension extends AbstractExtension implements GlobalsInterface
|
|||
return [];
|
||||
}
|
||||
|
||||
public function getFilters()
|
||||
public function getFilters(): array
|
||||
{
|
||||
return [
|
||||
new TwigFilter('removeWww', [$this, 'removeWww']),
|
||||
|
@ -45,7 +45,7 @@ class WallabagExtension extends AbstractExtension implements GlobalsInterface
|
|||
];
|
||||
}
|
||||
|
||||
public function getFunctions()
|
||||
public function getFunctions(): array
|
||||
{
|
||||
return [
|
||||
new TwigFunction('count_entries', [$this, 'countEntries']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue