Skip to content

Commit

Permalink
Annotate class string array return generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 28, 2023
1 parent cc5f355 commit 6fedad8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ protected function registerTasks(array $tasks): void
}
}

/** @return array<class-string<\Hyde\Framework\Features\BuildTasks\BuildTask>> */
protected function findTasksInAppDirectory(): array
{
return Filesystem::smartGlob('app/Actions/*BuildTask.php')->map(function (string $file): string {
Expand Down

0 comments on commit 6fedad8

Please sign in to comment.