Skip to content

Commit

Permalink
Merge branch 'bugfix/stub-parent-class' into feature/class-const-impr…
Browse files Browse the repository at this point in the history
…ovements
  • Loading branch information
AndrolGenhald committed Dec 13, 2021
2 parents fc31000 + 8ceb0e2 commit 3e03dc6
Show file tree
Hide file tree
Showing 5 changed files with 335 additions and 267 deletions.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Analyzer/ClassLikeAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static function checkFullyQualifiedClassLikeName(
return null;
}

foreach ($class_storage->invalid_dependencies as $dependency_class_name) {
foreach ($class_storage->invalid_dependencies as $dependency_class_name => $_) {
// if the implemented/extended class is stubbed, it may not yet have
// been hydrated
if ($codebase->classlike_storage_provider->has($dependency_class_name)) {
Expand Down

0 comments on commit 3e03dc6

Please sign in to comment.