From 47ecf9ef978c8b4879acf805820017e1902ea640 Mon Sep 17 00:00:00 2001 From: tracer Date: Sat, 17 Sep 2022 16:31:00 +0200 Subject: [PATCH] made db connection ro --- src/Repository/NameserverRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repository/NameserverRepository.php b/src/Repository/NameserverRepository.php index 75d2d65..dc4e6f1 100644 --- a/src/Repository/NameserverRepository.php +++ b/src/Repository/NameserverRepository.php @@ -12,7 +12,7 @@ use PDOException; */ class NameserverRepository { - public function __construct(private DatabaseConnection $databaseConnection) + public function __construct(private readonly DatabaseConnection $databaseConnection) { }