Browse Source

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

Add missing variable argument operator in BaseModule->t
pull/11031/head
Tobias Diekershoff 1 week ago
committed by GitHub
parent
commit
853670dae7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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