Skip to content

Commit

Permalink
Prevent unnecessary IO in ComposerJsonAndInstalledJsonSourceLocatorMaker
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Feb 14, 2024
1 parent 57bcbd2 commit 9d04fe6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public function create(string $projectInstallationPath): ?SourceLocator
foreach ($classMapPaths as $classMapPath) {
if (is_dir($classMapPath)) {
$locators[] = $this->optimizedDirectorySourceLocatorRepository->getOrCreate($classMapPath);
continue;
}
if (!is_file($classMapPath)) {
continue;
Expand Down

0 comments on commit 9d04fe6

Please sign in to comment.