|
|
|
@ -140,7 +140,8 @@ class SplClassLoader
|
|
|
|
|
*/
|
|
|
|
|
public function loadClass(string $className): void
|
|
|
|
|
{
|
|
|
|
|
if (null === $this->namespace || str_starts_with($className, $this->namespace . $this->namespaceSeparator)) {
|
|
|
|
|
$concatenateNamespace = $this->namespace . $this->namespaceSeparator;
|
|
|
|
|
if (null === $this->namespace || str_starts_with($className, $concatenateNamespace)) {
|
|
|
|
|
$fileName = '';
|
|
|
|
|
$namespace = '';
|
|
|
|
|
if (false !== ($lastNsPos = strripos($className, $this->namespaceSeparator))) {
|
|
|
|
|