Skip to content

Commit

Permalink
Merge pull request #4 from tillackt/Fix_count_parameter_in_trans_func…
Browse files Browse the repository at this point in the history
…tion

Fix count parameter in trans() available since Symfony 4.2
  • Loading branch information
pix-art authored Mar 26, 2020
2 parents 36762e4 + 3a29580 commit 0779d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Twig/Extension/TranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct(
$this->localeManager = $localeManager;
}

public function trans($message, array $arguments = array(), $domain = null, $locale = null)
public function trans($message, array $arguments = array(), $domain = null, $locale = null, $count = null)
{
$this->validateTranslation($message, $domain, $locale);

Expand Down

0 comments on commit 0779d25

Please # to comment.