From 05cadc0501f9a730f72021bab2c549416536b0a6 Mon Sep 17 00:00:00 2001 From: Alba Date: Fri, 31 Jan 2025 15:54:47 +0100 Subject: [PATCH] fix(26606): Correct test errors --- Services/NotificationService.php | 2 +- Services/VideoDataValidationService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Services/NotificationService.php b/Services/NotificationService.php index 7219dce..0e01549 100644 --- a/Services/NotificationService.php +++ b/Services/NotificationService.php @@ -31,7 +31,7 @@ public function __construct( DocumentManager $documentManager, YoutubeConfigurationService $youtubeConfigurationService, TagService $tagService, - SenderService $senderService = null, + ?SenderService $senderService = null, LoggerInterface $logger, RouterInterface $router, TranslatorInterface $translator, diff --git a/Services/VideoDataValidationService.php b/Services/VideoDataValidationService.php index 9fa8719..deba52b 100644 --- a/Services/VideoDataValidationService.php +++ b/Services/VideoDataValidationService.php @@ -37,7 +37,7 @@ public function __construct( YoutubeConfigurationService $youtubeConfigurationService, JobService $jobService, TagService $tagService, - OpencastService $opencastService = null, + ?OpencastService $opencastService = null, RouterInterface $router, TranslatorInterface $translator, LoggerInterface $logger,