1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
This commit is contained in:
Daniil Gentili 2023-10-19 14:16:08 +02:00
parent 575db97c21
commit 900807d2a2
2 changed files with 2 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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;
} }