From 184733b7615d8e2b78b9aac81ad61c37321b6a63 Mon Sep 17 00:00:00 2001 From: dulkoss Date: Tue, 26 Sep 2023 11:48:01 +0000 Subject: [PATCH] Fix styling --- src/Checks/UptimeCheck.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Checks/UptimeCheck.php b/src/Checks/UptimeCheck.php index ccbcf38..cd2be1d 100644 --- a/src/Checks/UptimeCheck.php +++ b/src/Checks/UptimeCheck.php @@ -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(), }; } @@ -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()), }; }