src/SourceLocator/Type/Composer/Psr/Psr0Mapping.php
public function resolvePossibleFilePaths(Identifier $identifier) : array
    {
        if (! $identifier->isClass()) {
            return [];
        }

        $className = $identifier->getName();

        foreach ($this->mappings as $prefix => $paths) {
            if (strpos($className, $prefix) === 0) {
                return array_map(
                    static function (string $path) use ($className) : string {
                        return rtrim($path, '/') . '/' . str_replace(['\\', '_'], '/', $className) . '.php';
                    },
                    $paths
                );
            }
        }

        return [];
    }
public function resolvePossibleFilePaths(Identifier $identifier) : array
    {
        if (! $identifier->isClass()) {
            return [];
        }

        $className = $identifier->getName();

        foreach ($this->mappings as $prefix => $paths) {
            if (strpos($className, $prefix) === 0) {
                return array_map(
                    static function (string $path) use ($className) : string {
                        return rtrim($path, '/') . '/' . str_replace(['\\', '_'], '/', $className) . '.php';
                    },
                    $paths
                );
            }
        }

        return [];
    }
{@inheritDoc}