Ops, wrong type-hint
This commit is contained in:
parent
ec96f2252e
commit
94a594eeb2
|
@ -269,7 +269,7 @@ class L10n
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public function t(array $s, ...$vars): string
|
||||
public function t(string $s, ...$vars): string
|
||||
{
|
||||
if (empty($s)) {
|
||||
return '';
|
||||
|
|
Loading…
Reference in New Issue
Block a user