mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix Psalm errors
This commit is contained in:
parent
f4c754737f
commit
cfde83775d
@ -1541,6 +1541,8 @@ class ClassAnalyzer extends ClassLikeAnalyzer
|
||||
) {
|
||||
foreach ($extended_type->getTypes() as $t) {
|
||||
if ($t instanceof Type\Atomic\TTemplateParam
|
||||
&& $storage->template_types
|
||||
&& $storage->template_covariants
|
||||
&& ($local_offset
|
||||
= array_search($t->param_name, array_keys($storage->template_types)))
|
||||
!== false
|
||||
|
Loading…
Reference in New Issue
Block a user