Skip to content

Commit

Permalink
fix: use elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
nahime0 committed Nov 16, 2023
1 parent fe4eed0 commit 89a696f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Printers/Detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ private function overview(Result $result): void
$successRateColor = 'red';
if ($successRate > 99) {
$successRateColor = 'green';
} else if ($successRate > 75) {
} elseif ($successRate > 75) {
$successRateColor = 'yellow';
} else if ($successRate > 50) {
} elseif ($successRate > 50) {
$successRateColor = 'orange';
}

Expand Down

0 comments on commit 89a696f

Please sign in to comment.