File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,20 +89,20 @@ public function getNodeTypes(): array
89
89
*/
90
90
public function refactor (Node $ node ): ?StaticCall
91
91
{
92
- foreach ($ this ->intlBundlesClassToNewClassByMethods as $ intlBundleClassToNewClassByMethods ) {
92
+ foreach ($ this ->intlBundlesClassToNewClassByMethods as $ intlBundlesClassToNewClass ) {
93
93
if (! $ this ->isObjectType (
94
94
$ node ->var ,
95
- new ObjectType ($ intlBundleClassToNewClassByMethods ->getOldIntlResourceClass ())
95
+ new ObjectType ($ intlBundlesClassToNewClass ->getOldIntlResourceClass ())
96
96
)) {
97
97
continue ;
98
98
}
99
99
100
- foreach ($ intlBundleClassToNewClassByMethods ->getOldToNewMethods () as $ oldMethodName => $ newMethodName ) {
100
+ foreach ($ intlBundlesClassToNewClass ->getOldToNewMethods () as $ oldMethodName => $ newMethodName ) {
101
101
if (! $ this ->isName ($ node ->name , $ oldMethodName )) {
102
102
continue ;
103
103
}
104
104
105
- $ currenciesFullyQualified = new FullyQualified ($ intlBundleClassToNewClassByMethods ->getNewClass ());
105
+ $ currenciesFullyQualified = new FullyQualified ($ intlBundlesClassToNewClass ->getNewClass ());
106
106
return new StaticCall ($ currenciesFullyQualified , $ newMethodName );
107
107
}
108
108
}
You can’t perform that action at this time.
0 commit comments