From 9927096224e49d3dbfe15088c7f15cf766e39483 Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Mon, 21 Jun 2021 14:13:25 +0200 Subject: [PATCH] Re-add return type hint that was lost during upmerges Re-adds the `void` return type for `EmailFinisher::addMessages()` --- Classes/Finishers/EmailFinisher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Finishers/EmailFinisher.php b/Classes/Finishers/EmailFinisher.php index 490f707..5f2436f 100644 --- a/Classes/Finishers/EmailFinisher.php +++ b/Classes/Finishers/EmailFinisher.php @@ -167,7 +167,7 @@ protected function executeInternal() } } - protected function addMessages(SwiftMailerMessage $mail, array $messages) + protected function addMessages(SwiftMailerMessage $mail, array $messages): void { foreach ($messages as $messageFormat => $message) { if (count($messages) === 1) {