mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 01:09:38 +01:00
Merge branch 'fix_intersection_scanning' into strict_types
This commit is contained in:
commit
e8b8aa38bc
@ -368,13 +368,7 @@ class ClassLikes
|
||||
)
|
||||
&& !$this->classlike_storage_provider->has($fq_class_name_lc)
|
||||
) {
|
||||
if (!isset($this->existing_classes_lc[$fq_class_name_lc])) {
|
||||
$this->existing_classes_lc[$fq_class_name_lc] = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->existing_classes_lc[$fq_class_name_lc];
|
||||
return $this->existing_classes_lc[$fq_class_name_lc] = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -408,13 +402,7 @@ class ClassLikes
|
||||
)
|
||||
&& !$this->classlike_storage_provider->has($fq_class_name_lc)
|
||||
) {
|
||||
if (!isset($this->existing_interfaces_lc[$fq_class_name_lc])) {
|
||||
$this->existing_interfaces_lc[$fq_class_name_lc] = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->existing_interfaces_lc[$fq_class_name_lc];
|
||||
return $this->existing_interfaces_lc[$fq_class_name_lc] = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -475,13 +463,7 @@ class ClassLikes
|
||||
)
|
||||
&& !$this->classlike_storage_provider->has($fq_class_name_lc)
|
||||
) {
|
||||
if (!isset($this->existing_enums_lc[$fq_class_name_lc])) {
|
||||
$this->existing_enums_lc[$fq_class_name_lc] = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->existing_enums_lc[$fq_class_name_lc];
|
||||
return $this->existing_enums_lc[$fq_class_name_lc] = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user