Skip to content

Commit a8fbe10

Browse files
committed
[ci-review] Rector Rectify
1 parent 4aecddd commit a8fbe10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rules/CodeQuality/Rector/Class_/StaticToSelfStaticMethodCallOnFinalClassRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ public function refactor(Node $node): ?Class_
105105
return null;
106106
}
107107

108-
$methodReflection = $classReflection->getNativeMethod($methodName);
108+
$extendedMethodReflection = $classReflection->getNativeMethod($methodName);
109109

110110
// avoid overlapped change
111-
if (! $methodReflection->isStatic()) {
111+
if (! $extendedMethodReflection->isStatic()) {
112112
return null;
113113
}
114114

0 commit comments

Comments
 (0)