Fix type error

main
Jordi Boggiano 2 years ago
parent 03b7882ac2
commit 10287fcea3
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -721,12 +721,8 @@ EOF;
$baseDir = '';
if (strpos($path.'/', $vendorPath.'/') === 0) {
$path = substr($path, strlen($vendorPath));
$baseDir = '$vendorDir';
if ($path !== false) {
$baseDir .= " . ";
}
$path = (string) substr($path, strlen($vendorPath));
$baseDir = '$vendorDir . ';
} else {
$path = $filesystem->normalizePath($filesystem->findShortestPath($basePath, $path, true));
if (!$filesystem->isAbsolutePath($path)) {

Loading…
Cancel
Save