From 50b6ac1136f66d3e3b3f07c21817b5b05b7a7a54 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sun, 15 Dec 2024 12:17:09 +0100 Subject: [PATCH] Annotate full finder types --- .../framework/src/Framework/Actions/Internal/FileFinder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/framework/src/Framework/Actions/Internal/FileFinder.php b/packages/framework/src/Framework/Actions/Internal/FileFinder.php index 7ca447bde72..f8fd8fb3dbc 100644 --- a/packages/framework/src/Framework/Actions/Internal/FileFinder.php +++ b/packages/framework/src/Framework/Actions/Internal/FileFinder.php @@ -25,6 +25,8 @@ public static function handle(string $directory, string|array|false $matchExtens return collect(); } + /** @var \Symfony\Component\Finder\Finder&\Traversable $finder + */ $finder = Finder::create()->files()->in(Hyde::path($directory)); if ($recursive === false) {