From ba26a56f3d8577021318532beb80353339c6a19c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 24 Nov 2021 10:57:05 -0500 Subject: [PATCH] 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 --- src/BaseModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseModule.php b/src/BaseModule.php index be4788045c..48677e64fc 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -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); } /**