diff --git a/src/Storage/Device/Local.php b/src/Storage/Device/Local.php index 80d49d8c..e9319db4 100644 --- a/src/Storage/Device/Local.php +++ b/src/Storage/Device/Local.php @@ -522,6 +522,9 @@ public function getFiles(string $dir, int $max = self::MAX_PAGE_SIZE, string $co $files[] = $file; } + /** + * Hidden files + */ foreach (\glob($dir.DIRECTORY_SEPARATOR.'.[!.]*') as $file) { $files[] = $file; }