parent
6a7f8ac335
commit
3496431a6c
|
@ -111,7 +111,7 @@ class ClassMapGenerator
|
|||
foreach ($classes as $class) {
|
||||
// skip classes not within the given namespace prefix
|
||||
// TODO enable in Composer v1.11 or 2.0 whichever comes first
|
||||
if (/* null === $autoloadType && */ null !== $namespace && 0 !== strpos($class, $namespace)) {
|
||||
if (/* null === $autoloadType && */ null !== $namespace && '' !== $namespace && 0 !== strpos($class, $namespace)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue