From d0ae98aac8489e0c37d4480ab089b1d92f7ab733 Mon Sep 17 00:00:00 2001 From: its me Date: Tue, 20 Jun 2023 20:23:30 +0900 Subject: [PATCH] Fixed Missing required argument $directory --- src/Reader/FileReader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reader/FileReader.php b/src/Reader/FileReader.php index a818214..7ca165c 100644 --- a/src/Reader/FileReader.php +++ b/src/Reader/FileReader.php @@ -44,7 +44,7 @@ public function read(): array try { $dir = $this->filesystemIteratorFactory->create([ - 'path' => DirectoryList::MEDIA . DIRECTORY_SEPARATOR . $this->destination, + 'directory' => DirectoryList::MEDIA . DIRECTORY_SEPARATOR . $this->destination, 'flags' => FilesystemIterator::SKIP_DOTS, ]); } catch (\UnexpectedValueException $exception) {