Completed
Pull Request — 5.x (#16)
by Lars
05:10
created
lib/classes/Swift/Signers/DKIMSigner.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -435,6 +435,9 @@
 block discarded – undo
435 435
 
436 436
     /* Private helpers */
437 437
 
438
+    /**
439
+     * @param string $header
440
+     */
438 441
     protected function _addHeader($header)
439 442
     {
440 443
         switch ($this->_canon) {
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/AbstractSmtpTransport.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     public function send(Swift_Mime_Message $message, /** @noinspection ParameterByRefWithDefaultInspection */ &$failedRecipients = null)
178 178
     {
179 179
         $sent = 0;
180
-        $failedRecipients = (array)$failedRecipients;
180
+        $failedRecipients = (array) $failedRecipients;
181 181
 
182 182
         $evt = $this->_eventDispatcher->createSendEvent($this, $message);
183 183
         if ($evt) {
@@ -196,10 +196,10 @@  discard block
 block discarded – undo
196 196
             );
197 197
         }
198 198
 
199
-        $to = (array)$message->getTo();
200
-        $cc = (array)$message->getCc();
199
+        $to = (array) $message->getTo();
200
+        $cc = (array) $message->getCc();
201 201
         $tos = array_merge($to, $cc);
202
-        $bcc = (array)$message->getBcc();
202
+        $bcc = (array) $message->getBcc();
203 203
 
204 204
         $message->setBcc(array());
205 205
 
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
      */
309 309
     public function executeCommand($command, $codes = array(), &$failures)
310 310
     {
311
-        $failures = (array)$failures;
311
+        $failures = (array) $failures;
312 312
         $seq = $this->_buffer->write($command);
313 313
         $response = $this->_getFullResponse($seq);
314 314
 
Please login to merge, or discard this patch.