Skip to content

Commit

Permalink
Add a return type (#32)
Browse files Browse the repository at this point in the history
... to address a deprecation notice issued by Symfony 5.x.
  • Loading branch information
mpdude authored May 31, 2022
1 parent b47c316 commit 5001336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/IcuFormattingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(FormatterInterface $formatter, TranslatorInterface $
$this->translator = $translator;
}

public function getFilters()
public function getFilters(): array
{
return [
new TwigFilter('icu_format', [$this, 'format']),
Expand Down

0 comments on commit 5001336

Please sign in to comment.