We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d91db74 commit b44a626Copy full SHA for b44a626
src/Illuminate/Filesystem/Filesystem.php
@@ -580,6 +580,7 @@ public function glob($pattern, $flags = 0)
580
*
581
* @param string $directory
582
* @param bool $hidden
583
+ * @param string|int|string[]|int[] $levels
584
* @return \Symfony\Component\Finder\SplFileInfo[]
585
*/
586
public function files($directory, $hidden = false, array|string|int $depth = 0)
@@ -606,6 +607,7 @@ public function allFiles($directory, $hidden = false)
606
607
* Get all of the directories within a given directory.
608
609
610
611
* @return array
612
613
public function directories($directory, array|string|int $depth = 0)
0 commit comments