Skip to content
Permalink
Browse files

Fix Psalm errors

  • Loading branch information...
muglug committed May 14, 2019
1 parent f4c7547 commit cfde83775db3ad68008ab795041c341048818463
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Psalm/Internal/Analyzer/ClassAnalyzer.php
@@ -1541,6 +1541,8 @@ private function checkTemplateParams(
) {
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

0 comments on commit cfde837

Please sign in to comment.
You can’t perform that action at this time.