From 3c23141b59b5feeb99519983cdca65fe5a26d86e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Tue, 30 Oct 2018 16:17:32 +0100 Subject: [PATCH] ITranslator: allow multiple parameters for translated messages (#178) --- src/Utils/ITranslator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/ITranslator.php b/src/Utils/ITranslator.php index c38d108cd..2ff275c94 100644 --- a/src/Utils/ITranslator.php +++ b/src/Utils/ITranslator.php @@ -19,5 +19,5 @@ interface ITranslator /** * Translates the given string. */ - function translate($message, int $count = null): string; + function translate($message, ...$parameters): string; }