diff --git a/packages/framework/src/Foundation/Kernel/Filesystem.php b/packages/framework/src/Foundation/Kernel/Filesystem.php index b480e204f64..1efc0633101 100644 --- a/packages/framework/src/Foundation/Kernel/Filesystem.php +++ b/packages/framework/src/Foundation/Kernel/Filesystem.php @@ -185,7 +185,10 @@ public function smartGlob(string $pattern, int $flags = 0): Collection return $files->map(fn (string $path): string => $this->pathToRelative($path)); } - /** @return \Illuminate\Support\Collection */ + /** + * @param string|array|false $matchExtensions + * @return \Illuminate\Support\Collection + */ public function findFiles(string $directory, string|array|false $matchExtensions = false, bool $recursive = false): Collection { return app(FileFinder::class)->handle($directory, $matchExtensions, $recursive);