Add missing variable argument operator in BaseModule->t

- This was causing to wrongly pass the variable arguments as an array of variable arguments to L10n->t
This commit is contained in:
Hypolite Petovan 2021-11-24 10:57:05 -05:00
parent 4208535c16
commit ba26a56f3d
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ abstract class BaseModule implements ICanHandleRequests
*/
protected function t(string $s, ...$args): string
{
return $this->l10n->t($s, $args);
return $this->l10n->t($s, ...$args);
}
/**