mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 09:19:40 +01:00
get rid of the final check that was there only for static:: before
This commit is contained in:
parent
ee53c57952
commit
2b37bdf253
@ -670,12 +670,10 @@ class ClassConstFetchAnalyzer
|
||||
}
|
||||
}
|
||||
|
||||
if ($const_class_storage->final) {
|
||||
$stmt_type = clone $class_constant_type;
|
||||
|
||||
$statements_analyzer->node_data->setType($stmt, $stmt_type);
|
||||
$context->vars_in_scope[$const_id] = $stmt_type;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user