File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44
55use PhpParser \Node ;
66use PhpParser \Node \Attribute ;
7+ use PHPStan \Analyser \NodeCallbackInvoker ;
78use PHPStan \Analyser \Scope ;
89use PHPStan \DependencyInjection \AutowiredParameter ;
910use PHPStan \DependencyInjection \RegisteredRule ;
@@ -48,7 +49,7 @@ public function getNodeType(): string
4849 return InClassMethodNode::class;
4950 }
5051
51- public function processNode (Node $ node , Scope $ scope ): array
52+ public function processNode (Node $ node , Scope & NodeCallbackInvoker $ scope ): array
5253 {
5354 $ method = $ node ->getMethodReflection ();
5455 $ prototypeData = $ this ->methodPrototypeFinder ->findPrototype ($ node ->getClassReflection (), $ method ->getName ());
@@ -323,7 +324,7 @@ private function filterOverrideAttribute(array $attrGroups): array
323324 private function addErrors (
324325 array $ errors ,
325326 InClassMethodNode $ classMethod ,
326- Scope $ scope ,
327+ Scope & NodeCallbackInvoker $ scope ,
327328 ): array
328329 {
329330 if (count ($ errors ) > 0 ) {
You can’t perform that action at this time.
0 commit comments