Completed
Pull Request — 5.x (#19)
by Lars
08:04
created
lib/classes/Swift/Mime/MimePart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
     /**
190 190
      * Set the nesting level of this entity
191 191
      *
192
-     * @param $level
192
+     * @param integer $level
193 193
      */
194 194
     protected function _setNestingLevel($level)
195 195
     {
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/MailTransport.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -286,10 +286,10 @@
 block discarded – undo
286 286
     /**
287 287
      * Return php mail extra params to use for invoker->mail.
288 288
      *
289
-     * @param $extraParams
289
+     * @param string $extraParams
290 290
      * @param $reversePath
291 291
      *
292
-     * @return mixed <string|null>
292
+     * @return string|null <string|null>
293 293
      */
294 294
     private function _formatExtraParams($extraParams, $reversePath)
295 295
     {
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function send(Swift_Mime_Message $message, &$failedRecipients = null)
106 106
     {
107
-        $failedRecipients = (array)$failedRecipients;
107
+        $failedRecipients = (array) $failedRecipients;
108 108
 
109 109
         $evt = $this->_eventDispatcher->createSendEvent($this, $message);
110 110
         if ($evt) {
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
         }
117 117
 
118 118
         $count = (
119
-            count((array)$message->getTo())
120
-            + count((array)$message->getCc())
121
-            + count((array)$message->getBcc())
119
+            count((array) $message->getTo())
120
+            + count((array) $message->getCc())
121
+            + count((array) $message->getBcc())
122 122
         );
123 123
 
124 124
         /*
@@ -181,9 +181,9 @@  discard block
 block discarded – undo
181 181
         } else {
182 182
             $failedRecipients = array_merge(
183 183
                 $failedRecipients,
184
-                array_keys((array)$message->getTo()),
185
-                array_keys((array)$message->getCc()),
186
-                array_keys((array)$message->getBcc())
184
+                array_keys((array) $message->getTo()),
185
+                array_keys((array) $message->getCc()),
186
+                array_keys((array) $message->getBcc())
187 187
             );
188 188
 
189 189
             if ($evt) {
Please login to merge, or discard this patch.