Skip to content
Snippets Groups Projects
Commit 31c966c0 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Missing array type in function parameter

parent bbc9a195
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ class MailTemplateService { ...@@ -66,7 +66,7 @@ class MailTemplateService {
/** /**
* @var string language * @var string language
*/ */
private $language; private $language = 'de';
/** /**
* @var boolean ignoreMailQueue * @var boolean ignoreMailQueue
...@@ -196,7 +196,7 @@ class MailTemplateService { ...@@ -196,7 +196,7 @@ class MailTemplateService {
* @param array $registerArray * @param array $registerArray
* @return MailTemplateService * @return MailTemplateService
*/ */
public static function setRegisterArray($registerArray) { public static function setRegisterArray(array $registerArray) {
self::$registerArray = $registerArray; self::$registerArray = $registerArray;
} }
...@@ -290,7 +290,7 @@ class MailTemplateService { ...@@ -290,7 +290,7 @@ class MailTemplateService {
* @param array $content * @param array $content
* @return MailTemplateService * @return MailTemplateService
*/ */
public function setContent($content) { public function setContent(array $content) {
$this->content = $content; $this->content = $content;
return $this; return $this;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment