Skip to content

Commit 3c23141

Browse files
mabardg
authored andcommitted
ITranslator: allow multiple parameters for translated messages (#178)
1 parent 8bb70ae commit 3c23141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/ITranslator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ interface ITranslator
1919
/**
2020
* Translates the given string.
2121
*/
22-
function translate($message, int $count = null): string;
22+
function translate($message, ...$parameters): string;
2323
}

0 commit comments

Comments
 (0)