We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dce680 commit ed6e5b2Copy full SHA for ed6e5b2
2 files changed
specs/completer/resolver/NodeTypeResolver.spec.php
@@ -18,6 +18,7 @@
18
function createClass($classFQN, $fqcn){
19
$class = new ClassData($classFQN, 'dummy/path/class.php');
20
$method = new MethodData('method2');
21
+ $method->setType(ClassData::MODIFIER_PUBLIC);
22
$param = new ClassProperty('param2');
23
$param->type = $fqcn;
24
$method->setReturn($fqcn);
src/Entity/Collection/Specification.php
@@ -24,7 +24,7 @@ public function satisfy($node){
return false;
25
}
26
if($node instanceof MethodData){
27
- if($node->isMagic() !== $this->magic){
+ if($node->isMagic() && !$this->magic){
28
29
30
0 commit comments