Skip to content

Commit

Permalink
ITranslator: allow multiple parameters for translated messages (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar authored and dg committed Oct 30, 2018
1 parent 8bb70ae commit 3c23141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/ITranslator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ interface ITranslator
/**
* Translates the given string.
*/
function translate($message, int $count = null): string;
function translate($message, ...$parameters): string;
}

0 comments on commit 3c23141

Please sign in to comment.