1
0
Fork 0

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
commit 853670dae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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