Commit 4f4aa1a1 authored by Fabian Galinski's avatar Fabian Galinski 😾
Browse files

[TASK] Restore of the php 7.0 compatibility #2

parent 542a5c29
......@@ -702,7 +702,7 @@ class MailTemplateService {
*
* @param Template $template
*/
private function loadTemplateValues(Template $template): void {
private function loadTemplateValues(Template $template) {
$fromName = \trim($template->getFromName());
if ($fromName === '') {
$fromName = $this->fromName;
......@@ -871,7 +871,7 @@ class MailTemplateService {
protected function parseValuesForMail(
$template, RegisterService $registerService, $defaultTemplateContent,
$siteRootId
): void {
) {
/** @var StandaloneView $emailView */
$emailView = $this->objectManager->get(StandaloneView::class);
$emailView->assignMultiple($this->markers);
......@@ -1152,7 +1152,7 @@ class MailTemplateService {
/**
* @param string $subjectToSend
*/
public function setSubjectToSend(string $subjectToSend): void {
public function setSubjectToSend(string $subjectToSend) {
$this->subjectToSend = $subjectToSend;
}
......@@ -1166,7 +1166,7 @@ class MailTemplateService {
/**
* @param string|string[]|null $mailBodyToSend
*/
public function setMailBodyToSend($mailBodyToSend): void {
public function setMailBodyToSend($mailBodyToSend) {
$this->mailBodyToSend = $mailBodyToSend;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment