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:
parent
4208535c16
commit
ba26a56f3d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue