Skip to content

Commit 9252ee5

Browse files
authored
Fix PHP warning with no composer classloader (#150)
1 parent 6bbe1d0 commit 9252ee5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Analyser.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,9 @@ public function __construct(
103103
$this->stopwatch = $stopwatch;
104104
$this->config = $config;
105105
$this->composerJsonDependencies = $composerJsonDependencies;
106+
$this->classLoaders = $classLoaders;
106107

107108
$this->initExistingSymbols();
108-
109-
foreach ($classLoaders as $vendorDir => $classLoader) {
110-
$this->classLoaders[$vendorDir] = $classLoader;
111-
}
112109
}
113110

114111
/**

0 commit comments

Comments
 (0)