Skip to content

Commit 988ab7d

Browse files
authored
[Filesystem] fix wrong method call casing
1 parent 6fa16ab commit 988ab7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ public function mirror($originDir, $targetDir, \Traversable $iterator = null, $o
572572
$targetDirInfo = new \SplFileInfo($targetDir);
573573

574574
foreach ($iterator as $file) {
575-
if ($file->getPathName() === $targetDir || $file->getRealPath() === $targetDir || 0 === strpos($file->getRealPath(), $targetDirInfo->getRealPath())) {
575+
if ($file->getPathname() === $targetDir || $file->getRealPath() === $targetDir || 0 === strpos($file->getRealPath(), $targetDirInfo->getRealPath())) {
576576
continue;
577577
}
578578

0 commit comments

Comments
 (0)