File tree 1 file changed +3
-3
lines changed
src/Illuminate/Filesystem 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ public function files($directory)
203
203
204
204
if ($ glob === false ) return array ();
205
205
206
- // To get the appropriate files, we'll simply glob the direectory and filter
206
+ // To get the appropriate files, we'll simply glob the directory and filter
207
207
// out any "files" that are not truly files so we do not end up with any
208
208
// directories in our list, but only true files within the directory.
209
209
return array_filter ($ glob , function ($ file )
@@ -288,7 +288,7 @@ public function deleteDirectory($directory, $preserve = false)
288
288
{
289
289
if ( ! $ this ->isDirectory ($ directory )) return ;
290
290
291
- $ items = new \ FilesystemIterator ($ directory );
291
+ $ items = new FilesystemIterator ($ directory );
292
292
293
293
foreach ($ items as $ item )
294
294
{
@@ -323,4 +323,4 @@ public function cleanDirectory($directory)
323
323
return $ this ->deleteDirectory ($ directory , true );
324
324
}
325
325
326
- }
326
+ }
You can’t perform that action at this time.
0 commit comments