Skip to content

Commit

Permalink
Add typehints to a collection map
Browse files Browse the repository at this point in the history
We know what is going in now
  • Loading branch information
phily245 committed Jul 24, 2024
1 parent 6bd6471 commit 74d0fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/StatusCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public function handle(): int
}

$onlyChecks = Str::of($only)->explode(',')
->map(fn($check) => trim($check));
->map(fn(string $check) => trim($check));

$exceptChecks = Str::of($except)->explode(',')
->map(fn($check) => trim($check));
->map(fn(string $check) => trim($check));

$problems = [];
/** @var \UKFast\HealthCheck\HealthCheck $check */
Expand Down

0 comments on commit 74d0fdc

Please sign in to comment.