src/SourceLocator/Type/Composer/Factory/MakeLocatorForInstalledJson.php
private function prefixPaths(array $paths, string $prefix) : array
    {
        return array_map(static function (string $path) use ($prefix) {
            return $prefix . $path;
        }, $paths);
    }
private function prefixPaths(array $paths, string $prefix) : array
    {
        return array_map(static function (string $path) use ($prefix) {
            return $prefix . $path;
        }, $paths);
    }
@param array<int|string, string> $paths

@return array<int|string, string>