Skip to content

Commit

Permalink
Add generic array annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 28, 2023
1 parent a0cb717 commit 85de426
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ protected function registerIf(string $task, bool $condition): void
}
}

/** @param array<\Hyde\Framework\Features\BuildTasks\PreBuildTask|\Hyde\Framework\Features\BuildTasks\PostBuildTask|class-string<\Hyde\Framework\Features\BuildTasks\PreBuildTask|\Hyde\Framework\Features\BuildTasks\PostBuildTask>> $tasks */
protected function registerTasks(array $tasks): void
{
foreach ($tasks as $task) {
Expand Down

0 comments on commit 85de426

Please sign in to comment.