From f08a1ed50c1f1d1356b3b6aeca70b1c81960334e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarmo=20Lepp=C3=A4nen?= Date: Sun, 6 Oct 2024 01:23:19 +0300 Subject: [PATCH] Make class readonly --- src/Utils/HealthzService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils/HealthzService.php b/src/Utils/HealthzService.php index e889dcbfe..381b0d4e7 100644 --- a/src/Utils/HealthzService.php +++ b/src/Utils/HealthzService.php @@ -16,10 +16,10 @@ * @package App\Utils * @author TLe, Tarmo Leppänen */ -class HealthzService +readonly class HealthzService { public function __construct( - private readonly HealthzRepository $repository, + private HealthzRepository $repository, ) { }