src/Viserio/Component/StaticalProxy/AliasLoader.php
public function resolveNamespaceAlias(string $alias)
    {
        foreach ($this->namespaces as $namespace) {
            [$nsClass, $nsAlias] = $namespace;

            if (! $nsAlias || \mb_strpos($alias, (string) $nsAlias) === 0) {
                if ($nsAlias) {
                    $alias = \mb_substr($alias, \mb_strlen($nsAlias) + 1);
                }

                $class             = $nsClass . '\\' . $alias;
                $this->resolving[] = $class;

                if ($this->exists($class)) {
                    \array_pop($this->resolving);

                    return $class;
                }
            }
        }

        return false;
    }
public function resolveNamespaceAlias(string $alias)
    {
        foreach ($this->namespaces as $namespace) {
            [$nsClass, $nsAlias] = $namespace;

            if (! $nsAlias || \mb_strpos($alias, (string) $nsAlias) === 0) {
                if ($nsAlias) {
                    $alias = \mb_substr($alias, \mb_strlen($nsAlias) + 1);
                }

                $class             = $nsClass . '\\' . $alias;
                $this->resolving[] = $class;

                if ($this->exists($class)) {
                    \array_pop($this->resolving);

                    return $class;
                }
            }
        }

        return false;
    }
{@inheritdoc}