Skip to content

Commit

Permalink
add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjektGopher committed Jul 31, 2023
1 parent cc16156 commit 251cc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function make(string $hook): Hook
public static function all(): Collection
{
return collect(array_keys(Whisky::readConfig('hooks')))->map(
fn ($hook) => new Hook($hook),
fn (string $hook) => new Hook($hook),
);
}

Expand Down

0 comments on commit 251cc24

Please sign in to comment.