Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
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.
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
      *
188 188
      * @throws Swift_IoException
189 189
      *
190
-     * @return string|bool
190
+     * @return string|null
191 191
      */
192 192
     public function read($length)
193 193
     {
Please login to merge, or discard this patch.
Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@
 block discarded – undo
127 127
 
128 128
     // -- Creation Methods
129 129
 
130
+    /**
131
+     * @return Swift_InputByteStream
132
+     */
130 133
     private function _createMockInputStream()
131 134
     {
132 135
         return $this->getMock('Swift_InputByteStream');
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/tests/bug/Swift/Bug38Test.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -183,6 +183,10 @@
 block discarded – undo
183 183
 
184 184
     // -- Helpers
185 185
 
186
+    /**
187
+     * @param string $pattern
188
+     * @param Swift_ByteStream_ArrayByteStream $stream
189
+     */
186 190
     public function assertPatternInStream($pattern, $stream, $message = '%s')
187 191
     {
188 192
         $string = '';
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/tests/bug/Swift/Bug51Test.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
 
69 69
     // -- Custom Assertions
70 70
 
71
+    /**
72
+     * @param string $attachmentData
73
+     */
71 74
     public function assertAttachmentFromSourceMatches($attachmentData, $source)
72 75
     {
73 76
         $encHeader = 'Content-Transfer-Encoding: base64';
@@ -104,6 +107,10 @@  discard block
 block discarded – undo
104 107
         fclose($fp);
105 108
     }
106 109
 
110
+    /**
111
+     * @param integer $size
112
+     * @param string $attachmentPath
113
+     */
107 114
     private function _createMessageWithRandomAttachment($size, $attachmentPath)
108 115
     {
109 116
         $this->_fillFileWithRandomBytes($size, $attachmentPath);
Please login to merge, or discard this patch.
_protected/vendor/swiftmailer/swiftmailer/tests/unit/Swift/MailerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,11 +125,17 @@
 block discarded – undo
125 125
 
126 126
     // -- Creation methods
127 127
 
128
+    /**
129
+     * @return Swift_Events_EventListener
130
+     */
128 131
     private function _createPlugin()
129 132
     {
130 133
         return $this->getMockery('Swift_Events_EventListener')->shouldIgnoreMissing();
131 134
     }
132 135
 
136
+    /**
137
+     * @return Swift_Transport
138
+     */
133 139
     private function _createTransport()
134 140
     {
135 141
         return $this->getMockery('Swift_Transport')->shouldIgnoreMissing();
Please login to merge, or discard this patch.