Merge pull request #11026 from MrPetovan/bug/11021-array-in-t
Add missing variable argument operator in BaseModule->t
This commit is contained in:
commit
853670dae7
|
@ -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