Skip to content

Commit

Permalink
Annotate return collection generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 28, 2023
1 parent 4a8d8d9 commit cfdc103
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/framework/src/Foundation/Kernel/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ public function unlinkIfExists(string $path): bool
return false;
}

/** @return \Illuminate\Support\Collection<string> */
public function smartGlob(string $pattern, int $flags = 0): Collection
{
return collect(\Hyde\Facades\Filesystem::glob($pattern, $flags))
Expand Down

0 comments on commit cfdc103

Please sign in to comment.