We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac7a7b commit e9850f8Copy full SHA for e9850f8
Command/DebugCommand.php
@@ -178,7 +178,7 @@ private function getLoaderPaths()
178
179
$loaderPaths = array();
180
foreach ($loader->getNamespaces() as $namespace) {
181
- $paths = array_map(function ($path) use ($namespace) {
+ $paths = array_map(function ($path) {
182
if (null !== $this->projectDir && 0 === strpos($path, $this->projectDir)) {
183
$path = ltrim(substr($path, strlen($this->projectDir)), DIRECTORY_SEPARATOR);
184
}
0 commit comments