Skip to content

Commit

Permalink
Revert \Composer\Autoload\ClassLoader in Cli\Psalm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ralila committed Dec 4, 2021
1 parent 8fb2e0f commit ba52f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Cli/Psalm.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public static function run(array $argv): void

$include_collector = new IncludeCollector();
$first_autoloader = $include_collector->runAndCollect(
function () use ($current_dir, $options, $vendor_dir): ?ClassLoader {
function () use ($current_dir, $options, $vendor_dir): ?\Composer\Autoload\ClassLoader {
return CliUtils::requireAutoloaders($current_dir, isset($options['r']), $vendor_dir);
}
);
Expand Down

0 comments on commit ba52f88

Please sign in to comment.