Fix interference between two similar namespaces
This commit is contained in:
parent
b19ae23f7a
commit
4477f33b31
|
@ -112,7 +112,7 @@ class ClassLoader
|
|||
}
|
||||
|
||||
foreach ($this->namespaces as $namespace => $dir) {
|
||||
if ($class === strstr($class, $namespace)) {
|
||||
if ($class === strstr($class, "$namespace\\")) {
|
||||
return $this->buildClassFilename($class, $namespace);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue