@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | } elseif (isset($this->config['templateHalf'])) { |
| 169 | 169 | $template = $this->config['templateHalf']; |
| 170 | 170 | } else { |
| 171 | - throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
| 171 | + throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
| 172 | 172 | } |
| 173 | 173 | return $template; |
| 174 | 174 | } |
@@ -181,19 +181,19 @@ discard block |
||
| 181 | 181 | $from = $this->config['from']; |
| 182 | 182 | } else { |
| 183 | 183 | $log->err('A from email address must be provided (Variable $from) in Template: ' . $template); |
| 184 | - throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
| 184 | + throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
| 185 | 185 | } |
| 186 | 186 | if (isset($this->config['fromName'])) { |
| 187 | 187 | $fromName = $this->config['fromName']; |
| 188 | 188 | } else { |
| 189 | 189 | $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template); |
| 190 | - throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
| 190 | + throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
| 191 | 191 | } |
| 192 | 192 | if (isset($this->config['subject'])) { |
| 193 | 193 | $subject = $this->config['subject']; |
| 194 | 194 | } else { |
| 195 | 195 | $log->err('A subject must be provided (Variable $subject) in Template: ' . $template); |
| 196 | - throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
| 196 | + throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
| 197 | 197 | } |
| 198 | 198 | $this->setFrom($from, $fromName); |
| 199 | 199 | $this->setSubject($subject); |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | public function postDispatch(MvcEvent $e) |
| 58 | 58 | { |
| 59 | - // $view = $this->serviceLocator->get('view'); |
|
| 59 | + // $view = $this->serviceLocator->get('view'); |
|
| 60 | 60 | |
| 61 | 61 | } |
| 62 | 62 | |
@@ -56,6 +56,6 @@ |
||
| 56 | 56 | $form = new static(); |
| 57 | 57 | $form->forms = $forms; |
| 58 | 58 | |
| 59 | - return $form; |
|
| 59 | + return $form; |
|
| 60 | 60 | } |
| 61 | 61 | } |
@@ -128,6 +128,6 @@ |
||
| 128 | 128 | |
| 129 | 129 | $pointer = $this->pointer + 1; |
| 130 | 130 | |
| 131 | - return isset($this->ids[$pointer]) ? $this->ids[$pointer] : null; |
|
| 131 | + return isset($this->ids[$pointer]) ? $this->ids[$pointer] : null; |
|
| 132 | 132 | } |
| 133 | 133 | } |