1
0
Fork 0
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:
Yassine Guedidi 2025-01-18 23:56:06 +01:00
parent 5a8b581adf
commit 98ed784af3
47 changed files with 57 additions and 49 deletions

View file

@ -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']),