From 6797e667897bd988ecbc4e0ce4d34a47ac1bfe17 Mon Sep 17 00:00:00 2001 From: Oleg Kozlov Date: Sat, 2 Dec 2023 21:49:56 +0300 Subject: [PATCH] Make key class a readonly --- src/Key/Key.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Key/Key.php b/src/Key/Key.php index 638c657..0e9e785 100644 --- a/src/Key/Key.php +++ b/src/Key/Key.php @@ -28,9 +28,9 @@ /** * @author Oleg Kozlov */ -class Key implements KeyInterface +readonly class Key implements KeyInterface { - private readonly Collection $collection; + private Collection $collection; public function __construct(array $parameters) {