Skip to content

Commit

Permalink
fix phpstan #2
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Oct 17, 2022
1 parent 157ea08 commit d661bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Actions/Diagnostics/Errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function get(array $skip = []): array

foreach ($checks as $check) {
$check_name = (new \ReflectionClass($check))->getShortName();
if (!in_array($check_name, $skip, false)) {
if (!in_array($check_name, $skip, true)) {
$check->check($errors);
}
}
Expand Down

0 comments on commit d661bbb

Please sign in to comment.