8000 Fixes sprintf(): Too few arguments in Translator · symfony/symfony@109fee5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 109fee5

Browse files
stephanedelpratnicolas-grekas
authored andcommitted
Fixes sprintf(): Too few arguments in Translator
Similar to : #29344
1 parent e2ae5d9 commit 109fee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Translation/Formatter/MessageFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function formatIntl(string $message, string $locale, array $parameters =
6666
*/
6767
public function choiceFormat($message, $number, $locale, array $parameters = array())
6868
{
69-
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the format() one instead with a %count% parameter.', __METHOD__), E_USER_DEPRECATED);
69+
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the format() one instead with a %%count%% parameter.', __METHOD__), E_USER_DEPRECATED);
7070

7171
$parameters = array('%count%' => $number) + $parameters;
7272

0 commit comments

Comments
 (0)
0