Merge pull request #11026 from MrPetovan/bug/11021-array-in-t

Add missing variable argument operator in BaseModule->t
This commit is contained in:
Tobias Diekershoff
2021-11-24 17:50:14 +01:00
committed by GitHub

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);
}
/**