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) { }