Skip to content

Commit

Permalink
Fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed May 10, 2020
1 parent 733da0e commit f3a6e1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Config.php
Expand Up @@ -1857,8 +1857,9 @@ public function visitComposerAutoloadFiles(ProjectAnalyzer $project_analyzer, Pr

$autoload_files_files = array_unique($autoload_files_files);

$codebase = $project_analyzer->getCodebase();

if ($autoload_files_files) {
$codebase = $project_analyzer->getCodebase();
$codebase->register_autoload_files = true;

foreach ($autoload_files_files as $file_path) {
Expand Down

0 comments on commit f3a6e1a

Please sign in to comment.