Skip to content

Commit 5001336

Browse files
authored
Add a return type (#32)
... to address a deprecation notice issued by Symfony 5.x.
1 parent b47c316 commit 5001336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Twig/IcuFormattingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(FormatterInterface $formatter, TranslatorInterface $
2525
$this->translator = $translator;
2626
}
2727

28-
public function getFilters()
28+
public function getFilters(): array
2929
{
3030
return [
3131
new TwigFilter('icu_format', [$this, 'format']),

0 commit comments

Comments
 (0)