Fixed function case declaration <> call

main
Simon Berger 4 years ago
parent 33d7a64df9
commit 7053b6f761

@ -294,7 +294,7 @@ class Filesystem
$result = true; $result = true;
/** @var RecursiveDirectoryIterator $ri */ /** @var RecursiveDirectoryIterator $ri */
foreach ($ri as $file) { foreach ($ri as $file) {
$targetPath = $target . DIRECTORY_SEPARATOR . $ri->getSubPathName(); $targetPath = $target . DIRECTORY_SEPARATOR . $ri->getSubPathname();
if ($file->isDir()) { if ($file->isDir()) {
$this->ensureDirectoryExists($targetPath); $this->ensureDirectoryExists($targetPath);
} else { } else {

Loading…
Cancel
Save