Skip to content

Commit

Permalink
Remove void return type to stay compabible with PHP 7.0
Browse files Browse the repository at this point in the history
Fixes neos#124
  • Loading branch information
DrillSergeant authored Sep 15, 2020
1 parent b4a8048 commit e1648ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Finishers/EmailFinisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected function executeInternal()
}
}

protected function addMessages(SwiftMailerMessage $mail, array $messages): void
protected function addMessages(SwiftMailerMessage $mail, array $messages)
{
foreach ($messages as $messageFormat => $message) {
if (count($messages) === 1) {
Expand Down

0 comments on commit e1648ff

Please sign in to comment.