File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818use PhpParser \Node \Param ;
1919use PhpParser \NodeVisitor ;
2020use PHPStan \Analyser \Scope ;
21- use PHPStan \Reflection \Annotations \ AnnotationMethodReflection ;
21+ use PHPStan \Reflection \MethodReflection ;
2222use Rector \NodeNameResolver \NodeNameResolver ;
2323use Rector \NodeTypeResolver \Node \AttributeKey ;
2424use Rector \PhpDocParser \NodeTraverser \SimpleCallableNodeTraverser ;
@@ -96,7 +96,7 @@ public function shouldSkip(
9696 }
9797
9898 // exists, but by @method annotation
99- if ($ reflection instanceof AnnotationMethodReflection && ! $ reflection ->getDeclaringClass ()->hasNativeMethod (
99+ if ($ reflection instanceof MethodReflection && ! $ reflection ->getDeclaringClass ()->hasNativeMethod (
100100 $ reflection ->getName ()
101101 )) {
102102 return true ;
You can’t perform that action at this time.
0 commit comments