Skip to content

Commit

Permalink
Update CombinedCheck.php
Browse files Browse the repository at this point in the history
  • Loading branch information
roblesterjr04 committed Jun 23, 2023
1 parent 4a69641 commit f8b73ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Checks/Checks/CombinedCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ public function run(): Result
$checkResult = $check->run();
$status = (string)$checkResult->status;
if ($status !== 'ok') $notOk++;
$summary[] = $this->checkIcons[(string)$checkResult->status] . ($checkResult->getNotificationMessage()
?: $checkResult->getShortSummary());
$summary[] = $this->checkIcons[(string)$checkResult->status] . " {$check->getName()}" . substr($checkResult->getNotificationMessage(), 0, 20);
}

$result->ok(implode("<br />", $summary));
Expand Down

0 comments on commit f8b73ca

Please sign in to comment.