From 37863c6c24a8510ec4cff0851a098119f30b1650 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 23 Jun 2025 21:49:15 +0100 Subject: [PATCH] Refactor --- .../opd_presentations/src/Action/CountGivenPresentations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/opd_presentations/src/Action/CountGivenPresentations.php b/modules/opd_presentations/src/Action/CountGivenPresentations.php index 1c3b14257..21ae7fa48 100644 --- a/modules/opd_presentations/src/Action/CountGivenPresentations.php +++ b/modules/opd_presentations/src/Action/CountGivenPresentations.php @@ -7,7 +7,7 @@ namespace Drupal\opd_presentations\Action; use Drupal\opd_presentations\Presentation; use Drupal\opd_presentations\Repository\PresentationRepositoryInterface; -final class CountGivenPresentations { +readonly final class CountGivenPresentations { public function __construct(private PresentationRepositoryInterface $presentationRepository) { }