@@ -42,14 +42,14 @@ public function __construct(Translator $translator)
42
42
public function getPseudoClassTranslators (): array
43
43
{
44
44
return [
45
- 'checked ' => [ $ this , ' translateChecked ' ] ,
46
- 'link ' => [ $ this , ' translateLink ' ] ,
47
- 'disabled ' => [ $ this , ' translateDisabled ' ] ,
48
- 'enabled ' => [ $ this , ' translateEnabled ' ] ,
49
- 'selected ' => [ $ this , ' translateSelected ' ] ,
50
- 'invalid ' => [ $ this , ' translateInvalid ' ] ,
51
- 'hover ' => [ $ this , ' translateHover ' ] ,
52
- 'visited ' => [ $ this , ' translateVisited ' ] ,
45
+ 'checked ' => $ this -> translateChecked (...) ,
46
+ 'link ' => $ this -> translateLink (...) ,
47
+ 'disabled ' => $ this -> translateDisabled (...) ,
48
+ 'enabled ' => $ this -> translateEnabled (...) ,
49
+ 'selected ' => $ this -> translateSelected (...) ,
50
+ 'invalid ' => $ this -> translateInvalid (...) ,
51
+ 'hover ' => $ this -> translateHover (...) ,
52
+ 'visited ' => $ this -> translateVisited (...) ,
53
53
];
54
54
}
55
55
@@ -59,7 +59,7 @@ public function getPseudoClassTranslators(): array
59
59
public function getFunctionTranslators (): array
60
60
{
61
61
return [
62
- 'lang ' => [ $ this , ' translateLang ' ] ,
62
+ 'lang ' => $ this -> translateLang (...) ,
63
63
];
64
64
}
65
65
0 commit comments