return null;
} private function addBasePathToCollection(FileCollection
$fileCollection, string
$basePath): FileCollection
{ foreach ($fileCollection as $file) { if (mb_strpos($file->
getFilepath(), '@'
) === 0
) { continue;
} $file->
setFilepath($this->
addBasePath($file->
getFilepath(),
$basePath));
} return $fileCollection;
} /**
* @param array<int, string> $files
*
* @return array<int, string>
*/
private function addBasePathToArray(array
$files, string
$basePath): array
{