From 1e2197c3b05ffd24748dac6b00669540c9ee0640 Mon Sep 17 00:00:00 2001 From: notCharles Date: Sun, 22 Jun 2025 18:50:22 -0400 Subject: [PATCH] phpstan --- app/Filament/Server/Widgets/ServerOverview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Server/Widgets/ServerOverview.php b/app/Filament/Server/Widgets/ServerOverview.php index 6f4d9587e..72d620d26 100644 --- a/app/Filament/Server/Widgets/ServerOverview.php +++ b/app/Filament/Server/Widgets/ServerOverview.php @@ -68,7 +68,7 @@ class ServerOverview extends StatsOverviewWidget } $latestMemoryUsed = collect(cache()->get("servers.{$this->server->id}.memory_bytes"))->last(default: 0); - $totalMemory = $this->server->memory * 2 ** 20 ?? 0; + $totalMemory = $this->server->memory * 2 ** 20; $used = convert_bytes_to_readable($latestMemoryUsed); $total = convert_bytes_to_readable($totalMemory);