[Filesystem] fix wrong method call casing
This commit is contained in:
parent
ce26936730
commit
288f2b76e3
@ -572,7 +572,7 @@ class Filesystem
|
|||||||
$targetDirInfo = new \SplFileInfo($targetDir);
|
$targetDirInfo = new \SplFileInfo($targetDir);
|
||||||
|
|
||||||
foreach ($iterator as $file) {
|
foreach ($iterator as $file) {
|
||||||
if ($file->getPathName() === $targetDir || $file->getRealPath() === $targetDir || 0 === strpos($file->getRealPath(), $targetDirInfo->getRealPath())) {
|
if ($file->getPathname() === $targetDir || $file->getRealPath() === $targetDir || 0 === strpos($file->getRealPath(), $targetDirInfo->getRealPath())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user