Skip to content

Commit

Permalink
Return types for deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Nov 29, 2023
1 parent bf531ba commit e696025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function setRequestLocale(RequestEvent $event): void
}
}

public static function getSubscribedEvents()
public static function getSubscribedEvents(): array
{
return [
// Default locale listener listens at P16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct(private readonly SecondFactorTypeTranslationService
{
}

public function getFilters()
public function getFilters(): array
{
return [
new TwigFilter('trans_second_factor_type', $this->translateSecondFactorType(...)),
Expand Down

0 comments on commit e696025

Please sign in to comment.