From 4541d66d34b032ac3a5f6189c08419853dcc4694 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 24 Jun 2025 17:21:02 +0100 Subject: [PATCH] Refactor --- .../opd_presentations/src/Action/CountGivenPresentations.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/opd_presentations/src/Action/CountGivenPresentations.php b/modules/opd_presentations/src/Action/CountGivenPresentations.php index 21ae7fa48..1eb01c85c 100644 --- a/modules/opd_presentations/src/Action/CountGivenPresentations.php +++ b/modules/opd_presentations/src/Action/CountGivenPresentations.php @@ -9,7 +9,9 @@ use Drupal\opd_presentations\Repository\PresentationRepositoryInterface; readonly final class CountGivenPresentations { - public function __construct(private PresentationRepositoryInterface $presentationRepository) { + public function __construct( + private PresentationRepositoryInterface $presentationRepository, + ) { } public function __invoke(): int {