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

[TASK] Fixing cgl issues

parent 2248c623
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,6 @@
namespace SGalinski\SgMail\Example;
use SGalinski\SgMail\Service\RegisterInterface;
/***************************************************************
* Copyright notice
*
......@@ -28,6 +26,8 @@ use SGalinski\SgMail\Service\RegisterInterface;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use SGalinski\SgMail\Service\RegisterInterface;
/**
* Example Registration for a Template
*
......@@ -73,8 +73,6 @@ class Register implements RegisterInterface {
/**
* initialize certain values
*
* @return mixed
*/
public function init() {
$this->markers = [
......@@ -103,9 +101,7 @@ class Register implements RegisterInterface {
}
/**
* call MailTemplateService registerTemplate with according values
*
* @return mixed
* Calls MailTemplateService registerTemplate with according values.
*/
public function registerTemplate() {
\SGalinski\SgMail\Service\MailTemplateService::registerTemplate(
......@@ -124,7 +120,7 @@ class Register implements RegisterInterface {
* @param array $markers
* @return RegisterInterface
*/
public function setMarkers($markers) {
public function setMarkers(array $markers) {
$this->markers = $markers;
return $this;
}
......@@ -140,7 +136,7 @@ class Register implements RegisterInterface {
* @param array $subjects
* @return RegisterInterface
*/
public function setSubjects($subjects) {
public function setSubjects(array $subjects) {
$this->subjects = $subjects;
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