Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dulkoss authored and github-actions[bot] committed Sep 26, 2023
1 parent ace82fc commit 184733b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Checks/UptimeCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public function run(): Result
protected function getSystemUptime(): Carbon
{
return match (PHP_OS) {
"Linux" => $this->getSystemUptimeLinux(),
"Darwin" => $this->getSystemUptimeDarwin(),
'Linux' => $this->getSystemUptimeLinux(),
'Darwin' => $this->getSystemUptimeDarwin(),
};
}

Expand All @@ -46,7 +46,7 @@ protected function runProcess(string $command): string

return match ($process->successful()) {
true => $process->output(),
false => throw new RuntimeException('Could not get system boot timestamp: ' . $process->errorOutput()),
false => throw new RuntimeException('Could not get system boot timestamp: '.$process->errorOutput()),
};
}

Expand Down

0 comments on commit 184733b

Please sign in to comment.