Skip to content

Commit

Permalink
update for upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Oct 29, 2018
1 parent 754d00e commit 82a469b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/LegacyPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private function getPluginClassForPath(string $path, string $must_extend): strin
$file_storage
);

$declared_classes = ClassLikeChecker::getClassesForFile($this->project_checker, $path);
$declared_classes = ClassLikeChecker::getClassesForFile($codebase, $path);

if (count($declared_classes) !== 1) {
throw new \InvalidArgumentException(
Expand Down

0 comments on commit 82a469b

Please sign in to comment.