From 897744ddf78050c2f477305de9e6df31e8a7805e Mon Sep 17 00:00:00 2001 From: helmut Date: Sun, 13 Jan 2013 16:33:18 +1100 Subject: [PATCH] Update src/Illuminate/Filesystem/Filesystem.php Cleaning up a minor typo and inconsistent reference to iterator. --- src/Illuminate/Filesystem/Filesystem.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Filesystem/Filesystem.php b/src/Illuminate/Filesystem/Filesystem.php index 39fa247a13b0..a6f39473576b 100644 --- a/src/Illuminate/Filesystem/Filesystem.php +++ b/src/Illuminate/Filesystem/Filesystem.php @@ -203,7 +203,7 @@ public function files($directory) if ($glob === false) return array(); - // To get the appropriate files, we'll simply glob the direectory and filter + // To get the appropriate files, we'll simply glob the directory and filter // out any "files" that are not truly files so we do not end up with any // directories in our list, but only true files within the directory. return array_filter($glob, function($file) @@ -288,7 +288,7 @@ public function deleteDirectory($directory, $preserve = false) { if ( ! $this->isDirectory($directory)) return; - $items = new \FilesystemIterator($directory); + $items = new FilesystemIterator($directory); foreach ($items as $item) { @@ -323,4 +323,4 @@ public function cleanDirectory($directory) return $this->deleteDirectory($directory, true); } -} \ No newline at end of file +}