Completed
Push — master ( 6f51c2...a1727f )
by Philippe
02:45
created
src/Mailer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Postmark\PostmarkClient;
20 20
 use yii\base\InvalidConfigException;
21 21
 use yii\mail\BaseMailer;
22
-use Yii;
23 22
 
24 23
 /**
25 24
  * This component allow user to send an email
Please login to merge, or discard this patch.
src/Message.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
     }
231 231
 
232 232
     /**
233
-     * @return string|null text body of the message
233
+     * @return string text body of the message
234 234
      * @since XXX
235 235
      */
236 236
     public function getTextBody()
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     }
249 249
 
250 250
     /**
251
-     * @return string|null html body of the message
251
+     * @return string html body of the message
252 252
      * @since XXX
253 253
      */
254 254
     public function getHtmlBody()
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
     }
318 318
 
319 319
     /**
320
-     * @return integer|null current templateId
320
+     * @return string current templateId
321 321
      * @since XXX
322 322
      */
323 323
     public function getTemplateId()
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -15,13 +15,9 @@
 block discarded – undo
15 15
 namespace sweelix\postmark;
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
Please login to merge, or discard this patch.