Skip to content
Snippets Groups Projects
Commit a7251ffd authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix signature

parent 010618d0
No related branches found
No related tags found
No related merge requests found
......@@ -99,11 +99,11 @@ class Translate
*
* @param string|null $original The string before translation.
* @param string $plural
* @param string $value
* @param int $value
*
* @return string The translated string.
*/
public static function translatePluralGettext(?string $original, string $plural, string $value): string
public static function translatePluralGettext(?string $original, string $plural, int $value): string
{
// This may happen if you forget to set a variable and then run undefinedVar through the trans-filter
$original = $original ?? 'undefined variable';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment