Completed
Branch master (518691)
by Lars
02:52
created
lib/classes/Swift/Mime/Headers/MailboxHeader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
      *
203 203
      * @see getNameAddresses()
204 204
      *
205
-     * @return string[]
205
+     * @return integer[]
206 206
      */
207 207
     public function getAddresses()
208 208
     {
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/MailTransport.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
         $messageStr = $message->toString();
148 148
 
149 149
         if ($toHeader) {
150
-          $message->getHeaders()->set($toHeader);
150
+            $message->getHeaders()->set($toHeader);
151 151
         }
152 152
         $message->getHeaders()->set($subjectHeader);
153 153
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@
 block discarded – undo
262 262
      *
263 263
      * @param Swift_Mime_Message $message
264 264
      *
265
-     * @return mixed|null|string
265
+     * @return string|null
266 266
      */
267 267
     private function _getReversePath(Swift_Mime_Message $message)
268 268
     {
Please login to merge, or discard this patch.
lib/classes/Swift/Encoder/QpEncoder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
             }
261 261
 
262 262
             if ($tmpRet !== '=00') {
263
-              $ret .= $tmpRet;
263
+                $ret .= $tmpRet;
264 264
             }
265 265
         }
266 266
 
Please login to merge, or discard this patch.
lib/classes/Swift/Signers/DomainKeySigner.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -520,6 +520,9 @@
 block discarded – undo
520 520
         $this->_hash = hash_final($this->_hashHandler, true);
521 521
     }
522 522
 
523
+    /**
524
+     * @param string $string
525
+     */
523 526
     private function _addToHash($string)
524 527
     {
525 528
         $this->_canonData .= $string;
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/EsmtpTransport.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -248,10 +248,10 @@  discard block
 block discarded – undo
248 248
         /** @noinspection PhpUsageOfSilenceOperatorInspection */
249 249
         /** @noinspection UsageOfSilenceOperatorInspection */
250 250
         @uasort($assoc, array($this, '_sortHandlers'));
251
-          $this->_handlers = $assoc;
252
-          $this->_setHandlerParams();
251
+            $this->_handlers = $assoc;
252
+            $this->_setHandlerParams();
253 253
 
254
-          return $this;
254
+            return $this;
255 255
     }
256 256
 
257 257
     /**
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
                     return $this;
326 326
                 }
327 327
 
328
-              return $return;
328
+                return $return;
329 329
             }
330 330
         }
331 331
 
Please login to merge, or discard this patch.
lib/classes/Swift/FileSpool.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $this->_path = $path;
39 39
 
40
-      /** @noinspection PhpUsageOfSilenceOperatorInspection */
41
-      if (
40
+        /** @noinspection PhpUsageOfSilenceOperatorInspection */
41
+        if (
42 42
             !file_exists($this->_path)
43 43
             &&
44 44
             !@mkdir($this->_path, 0777, true)
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                         return false;
108 108
                     }
109 109
                     return fclose($fp);
110
-              }
110
+                }
111 111
 
112 112
             /* The file already exists, we try a longer fileName */
113 113
             $fileName .= $this->getRandomString(1);
Please login to merge, or discard this patch.
lib/classes/Swift.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,8 @@
 block discarded – undo
101 101
             return $staticStrtolowerCache[$string];
102 102
         }
103 103
 
104
-      $staticStrtolowerCache[$string] = strtolower($string);
104
+        $staticStrtolowerCache[$string] = strtolower($string);
105 105
 
106
-      return $staticStrtolowerCache[$string];
106
+        return $staticStrtolowerCache[$string];
107 107
     }
108 108
 }
Please login to merge, or discard this patch.
lib/classes/Swift/Transport/StreamBuffer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,8 +186,8 @@
 block discarded – undo
186 186
             ||
187 187
             feof($this->_out)
188 188
         ) {
189
-          // TODO?
190
-          return;
189
+            // TODO?
190
+            return;
191 191
         }
192 192
 
193 193
         $line = fgets($this->_out);
Please login to merge, or discard this patch.
lib/classes/Swift/Mime/SimpleMimeEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -641,7 +641,7 @@
 block discarded – undo
641 641
      *
642 642
      * @param string $field
643 643
      *
644
-     * @return null|mixed
644
+     * @return string
645 645
      */
646 646
     protected function _getHeaderFieldModel($field)
647 647
     {
Please login to merge, or discard this patch.