Browse Source

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
pull/11026/head
Hypolite Petovan 2 weeks ago
parent
commit
ba26a56f3d
  1. 2
      src/BaseModule.php

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

Loading…
Cancel
Save