File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function getUptime(): string
6868 $ lastRestart = $ this ->status ['opcache_statistics ' ]['last_restart_time ' ] ?? 0 ;
6969 $ since = $ lastRestart > 0 ? $ lastRestart : $ start ;
7070 $ diff = (new \DateTimeImmutable ("@ $ since " ))->diff (new \DateTimeImmutable ());
71- return match (true ) {
71+ return match (true ) {
7272 $ diff ->y > 0 => $ diff ->format ('%yy %mmo ' ),
7373 $ diff ->m > 0 => $ diff ->format ('%mmo %dd ' ),
7474 $ diff ->d > 0 => $ diff ->format ('%dd %hh ' ),
@@ -762,7 +762,7 @@ private function sizeForHumansPlain(int $bytes): string
762762
763763 private function utilizationStatus (float $ pct ): string
764764 {
765- return match (true ) {
765+ return match (true ) {
766766 $ pct > 75 => 'red ' ,
767767 $ pct >= 50 => 'yellow ' ,
768768 default => 'green ' ,
You can’t perform that action at this time.
0 commit comments