Skip to content

Commit

Permalink
Annotate full finder types
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 15, 2024
1 parent e8b9cd0 commit 50b6ac1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public static function handle(string $directory, string|array|false $matchExtens
return collect();
}

/** @var \Symfony\Component\Finder\Finder&\Traversable<int, \SplFileInfo> $finder
*/
$finder = Finder::create()->files()->in(Hyde::path($directory));

if ($recursive === false) {
Expand Down

0 comments on commit 50b6ac1

Please sign in to comment.