mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
Fixes
This commit is contained in:
parent
575db97c21
commit
900807d2a2
@ -71,7 +71,7 @@ final class ElseIfAnalyzer
|
|||||||
$elseif_context = $if_conditional_scope->if_context;
|
$elseif_context = $if_conditional_scope->if_context;
|
||||||
$cond_referenced_var_ids = $if_conditional_scope->cond_referenced_var_ids;
|
$cond_referenced_var_ids = $if_conditional_scope->cond_referenced_var_ids;
|
||||||
$assigned_in_conditional_var_ids = $if_conditional_scope->assigned_in_conditional_var_ids;
|
$assigned_in_conditional_var_ids = $if_conditional_scope->assigned_in_conditional_var_ids;
|
||||||
} catch (ScopeAnalysisException $e) {
|
} catch (ScopeAnalysisException) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -755,7 +755,7 @@ final class Populator
|
|||||||
foreach ($storage->referenced_classlikes as $fq_class_name) {
|
foreach ($storage->referenced_classlikes as $fq_class_name) {
|
||||||
try {
|
try {
|
||||||
$classlike_storage = $this->classlike_storage_provider->get($fq_class_name);
|
$classlike_storage = $this->classlike_storage_provider->get($fq_class_name);
|
||||||
} catch (InvalidArgumentException $e) {
|
} catch (InvalidArgumentException) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user