Skip to content

Commit

Permalink
fixed vimeo#9401
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomulik committed Feb 26, 2023
1 parent 2652762 commit eae1a70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Psalm/Internal/TypeVisitor/TypeChecker.php
Expand Up @@ -348,6 +348,7 @@ public function checkTemplateParam(TTemplateParam $atomic): void
{
if ($this->prevent_template_covariance
&& strpos($atomic->defining_class, 'fn-') !== 0
&& $atomic->defining_class !== 'class-string-map'
) {
$codebase = $this->source->getCodebase();

Expand Down

0 comments on commit eae1a70

Please sign in to comment.