Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -585,6 +585,7 @@  discard block
 block discarded – undo
585 585
 
586 586
     /**
587 587
      * Get the model data (usually an array or a string) for $field.
588
+     * @param string $field
588 589
      */
589 590
     protected function _getHeaderFieldModel($field)
590 591
     {
@@ -595,6 +596,7 @@  discard block
 block discarded – undo
595 596
 
596 597
     /**
597 598
      * Set the model data for $field.
599
+     * @param string $field
598 600
      */
599 601
     protected function _setHeaderFieldModel($field, $model)
600 602
     {
@@ -609,6 +611,8 @@  discard block
 block discarded – undo
609 611
 
610 612
     /**
611 613
      * Get the parameter value of $parameter on $field header.
614
+     * @param string $field
615
+     * @param string $parameter
612 616
      */
613 617
     protected function _getHeaderParameter($field, $parameter)
614 618
     {
@@ -619,6 +623,8 @@  discard block
 block discarded – undo
619 623
 
620 624
     /**
621 625
      * Set the parameter value of $parameter on $field header.
626
+     * @param string $field
627
+     * @param string $parameter
622 628
      */
623 629
     protected function _setHeaderParameter($field, $parameter, $value)
624 630
     {
@@ -714,6 +720,9 @@  discard block
 block discarded – undo
714 720
         }
715 721
     }
716 722
 
723
+    /**
724
+     * @param string $boundary
725
+     */
717 726
     private function _assertValidBoundary($boundary)
718 727
     {
719 728
         if (!preg_match(
@@ -735,6 +744,9 @@  discard block
 block discarded – undo
735 744
         $this->_nestingLevel = $level;
736 745
     }
737 746
 
747
+    /**
748
+     * @param Swift_Mime_MimeEntity[] $children
749
+     */
738 750
     private function _getCompoundLevel($children)
739 751
     {
740 752
         $level = 0;
@@ -745,6 +757,9 @@  discard block
 block discarded – undo
745 757
         return $level;
746 758
     }
747 759
 
760
+    /**
761
+     * @param integer $compoundLevel
762
+     */
748 763
     private function _getNeededChildLevel($child, $compoundLevel)
749 764
     {
750 765
         $filter = array();
@@ -778,6 +793,9 @@  discard block
 block discarded – undo
778 793
         }
779 794
     }
780 795
 
796
+    /**
797
+     * @param string $charset
798
+     */
781 799
     private function _notifyCharsetChanged($charset)
782 800
     {
783 801
         $this->_encoder->charsetChanged($charset);
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/lib/classes/Swift/MimePart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      * @param string $contentType
51 51
      * @param string $charset
52 52
      *
53
-     * @return Swift_Mime_MimePart
53
+     * @return Swift_Mime_MimeEntity
54 54
      */
55 55
     public static function newInstance($body = null, $contentType = null, $charset = null)
56 56
     {
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/lib/classes/Swift/Plugins/RedirectingPlugin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * Create a new RedirectingPlugin.
34 34
      *
35 35
      * @param mixed $recipient
36
-     * @param array $whitelist
36
+     * @param string[] $whitelist
37 37
      */
38 38
     public function __construct($recipient, array $whitelist = array())
39 39
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * Set the recipient of all messages.
46 46
      *
47
-     * @param mixed $recipient
47
+     * @param string $recipient
48 48
      */
49 49
     public function setRecipient($recipient)
50 50
     {
Please login to merge, or discard this patch.
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/DKIMSigner.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
     /**
395 395
      * Set the signature timestamp.
396 396
      *
397
-     * @param timestamp $time
397
+     * @param string $time
398 398
      *
399 399
      * @return Swift_Signers_DKIMSigner
400 400
      */
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
     /**
462 462
      * Returns the list of Headers Tampered by this plugin.
463 463
      *
464
-     * @return array
464
+     * @return string[]
465 465
      */
466 466
     public function getAlteredHeaders()
467 467
     {
@@ -655,6 +655,9 @@  discard block
 block discarded – undo
655 655
         $this->_bodyHash = hash_final($this->_bodyHashHandler, true);
656 656
     }
657 657
 
658
+    /**
659
+     * @param string $string
660
+     */
658 661
     private function _addToBodyHash($string)
659 662
     {
660 663
         $len = strlen($string);
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/lib/classes/Swift/Signers/DomainKeySigner.php 1 patch
Doc Comments   +13 added lines, -10 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     /**
142 142
      * Resets internal states.
143 143
      *
144
-     * @return Swift_Signers_DomainKeysSigner
144
+     * @return Swift_Signers_DomainKeySigner
145 145
      */
146 146
     public function reset()
147 147
     {
@@ -169,8 +169,8 @@  discard block
 block discarded – undo
169 169
      *
170 170
      * @throws Swift_IoException
171 171
      *
172
-     * @return int
173
-     * @return Swift_Signers_DomainKeysSigner
172
+     * @return Swift_Signers_DomainKeySigner
173
+     * @return Swift_Signers_DomainKeySigner
174 174
      */
175 175
     public function write($bytes)
176 176
     {
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @throws Swift_IoException
190 190
      *
191
-     * @return Swift_Signers_DomainKeysSigner
191
+     * @return Swift_Signers_DomainKeySigner
192 192
      */
193 193
     public function commit()
194 194
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      *
204 204
      * @param Swift_InputByteStream $is
205 205
      *
206
-     * @return Swift_Signers_DomainKeysSigner
206
+     * @return Swift_Signers_DomainKeySigner
207 207
      */
208 208
     public function bind(Swift_InputByteStream $is)
209 209
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      *
222 222
      * @param Swift_InputByteStream $is
223 223
      *
224
-     * @return Swift_Signers_DomainKeysSigner
224
+     * @return null|Swift_Signers_DomainKeySigner
225 225
      */
226 226
     public function unbind(Swift_InputByteStream $is)
227 227
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      *
244 244
      * @throws Swift_IoException
245 245
      *
246
-     * @return Swift_Signers_DomainKeysSigner
246
+     * @return Swift_Signers_DomainKeySigner
247 247
      */
248 248
     public function flushBuffers()
249 249
     {
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
      *
258 258
      * @param string $hash
259 259
      *
260
-     * @return Swift_Signers_DomainKeysSigner
260
+     * @return Swift_Signers_DomainKeySigner
261 261
      */
262 262
     public function setHashAlgorithm($hash)
263 263
     {
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
      *
272 272
      * @param string $canon simple | nofws defaults to simple
273 273
      *
274
-     * @return Swift_Signers_DomainKeysSigner
274
+     * @return Swift_Signers_DomainKeySigner
275 275
      */
276 276
     public function setCanon($canon)
277 277
     {
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
     /**
331 331
      * Returns the list of Headers Tampered by this plugin.
332 332
      *
333
-     * @return array
333
+     * @return string[]
334 334
      */
335 335
     public function getAlteredHeaders()
336 336
     {
@@ -431,6 +431,9 @@  discard block
 block discarded – undo
431 431
         $this->_bodyCanonEmptyCounter = 1;
432 432
     }
433 433
 
434
+    /**
435
+     * @param string $string
436
+     */
434 437
     protected function _canonicalizeBody($string)
435 438
     {
436 439
         $len = strlen($string);
Please login to merge, or discard this patch.
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/SMimeSigner.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Constructor.
43 43
      *
44
-     * @param string $certificate
45
-     * @param string $privateKey
44
+     * @param string $signCertificate
45
+     * @param string $signPrivateKey
46 46
      * @param string $encryptCertificate
47 47
      */
48 48
     public function __construct($signCertificate = null, $signPrivateKey = null, $encryptCertificate = null)
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     /**
226 226
      * Return the list of header a signer might tamper.
227 227
      *
228
-     * @return array
228
+     * @return string[]
229 229
      */
230 230
     public function getAlteredHeaders()
231 231
     {
@@ -234,7 +234,6 @@  discard block
 block discarded – undo
234 234
 
235 235
     /**
236 236
      * @param Swift_InputByteStream $inputStream
237
-     * @param Swift_Message         $mimeEntity
238 237
      */
239 238
     protected function toSMimeByteStream(Swift_InputByteStream $inputStream, Swift_Message $message)
240 239
     {
Please login to merge, or discard this patch.
swiftmailer/lib/classes/Swift/StreamFilters/ByteArrayReplacementFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * Returns true if based on the buffer passed more bytes should be buffered.
99 99
      *
100
-     * @param array $buffer
100
+     * @param integer[] $buffer
101 101
      *
102 102
      * @return bool
103 103
      */
Please login to merge, or discard this patch.
swiftmailer/lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
         }
74 74
     }
75 75
 
76
+    /**
77
+     * @param string $si
78
+     */
76 79
     protected function si2bin($si, $bits = 32)
77 80
     {
78 81
         $bin = null;
@@ -150,9 +153,9 @@  discard block
 block discarded – undo
150 153
     /**
151 154
      * Read the blob information in from message2.
152 155
      *
153
-     * @param $block
156
+     * @param string $block
154 157
      *
155
-     * @return array
158
+     * @return string[]
156 159
      */
157 160
     protected function readSubBlock($block)
158 161
     {
@@ -486,7 +489,7 @@  discard block
 block discarded – undo
486 489
      *
487 490
      * @param string $value Securitybuffer in hex
488 491
      *
489
-     * @return array array with length and offset
492
+     * @return double[] array with length and offset
490 493
      */
491 494
     protected function readSecurityBuffer($value)
492 495
     {
@@ -549,7 +552,7 @@  discard block
 block discarded – undo
549 552
     /**
550 553
      * Create random bytes.
551 554
      *
552
-     * @param $length
555
+     * @param integer $length
553 556
      *
554 557
      * @return string
555 558
      */
Please login to merge, or discard this patch.
swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Get the name of the ESMTP extension this handles.
145 145
      *
146
-     * @return bool
146
+     * @return string
147 147
      */
148 148
     public function getHandledKeyword()
149 149
     {
@@ -242,9 +242,8 @@  discard block
 block discarded – undo
242 242
     /**
243 243
      * Returns the authenticator list for the given agent.
244 244
      *
245
-     * @param Swift_Transport_SmtpAgent $agent
246 245
      *
247
-     * @return array
246
+     * @return Swift_Transport_Esmtp_Authenticator[]
248 247
      */
249 248
     protected function _getAuthenticatorsForAgent()
250 249
     {
Please login to merge, or discard this patch.