@@ -392,7 +392,6 @@ discard block |
||
392 | 392 | } |
393 | 393 | |
394 | 394 | /** |
395 | - * @param integer $templateId template Id used. in this case, Subject / HtmlBody / TextBody are discarded |
|
396 | 395 | * @return $this |
397 | 396 | * @since XXX |
398 | 397 | */ |
@@ -403,7 +402,7 @@ discard block |
||
403 | 402 | } |
404 | 403 | |
405 | 404 | /** |
406 | - * @return integer|null current templateId |
|
405 | + * @return boolean current templateId |
|
407 | 406 | * @since XXX |
408 | 407 | */ |
409 | 408 | public function getTemplateLanguage() |
@@ -15,13 +15,9 @@ |
||
15 | 15 | namespace sweelix\mailjet; |
16 | 16 | |
17 | 17 | |
18 | -use yii\base\InvalidConfigException; |
|
19 | 18 | use yii\base\InvalidParamException; |
20 | 19 | use yii\base\NotSupportedException; |
21 | -use yii\helpers\ArrayHelper; |
|
22 | 20 | use yii\mail\BaseMessage; |
23 | -use Yii; |
|
24 | -use yii\mail\MailerInterface; |
|
25 | 21 | |
26 | 22 | /** |
27 | 23 | * This component allow user to send an email |