From cfdc103ccd680a8061ddd2594b72e1bbd90550fb Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 28 Oct 2023 17:59:25 +0200 Subject: [PATCH] Annotate return collection generics --- packages/framework/src/Foundation/Kernel/Filesystem.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/framework/src/Foundation/Kernel/Filesystem.php b/packages/framework/src/Foundation/Kernel/Filesystem.php index a51df395883..f6de78a9bb2 100644 --- a/packages/framework/src/Foundation/Kernel/Filesystem.php +++ b/packages/framework/src/Foundation/Kernel/Filesystem.php @@ -185,6 +185,7 @@ public function unlinkIfExists(string $path): bool return false; } + /** @return \Illuminate\Support\Collection */ public function smartGlob(string $pattern, int $flags = 0): Collection { return collect(\Hyde\Facades\Filesystem::glob($pattern, $flags))