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