Completed
Push — 5.x ( 6c7f56...7e5ff6 )
by Lars
09:07 queued 03:26
created
lib/classes/Swift/Transport/EsmtpTransport.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function setPort($port)
93 93
     {
94
-        $this->_params['port'] = (int)$port;
94
+        $this->_params['port'] = (int) $port;
95 95
 
96 96
         return $this;
97 97
     }
@@ -115,8 +115,8 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function setTimeout($timeout)
117 117
     {
118
-        $this->_params['timeout'] = (int)$timeout;
119
-        $this->_buffer->setParam('timeout', (int)$timeout);
118
+        $this->_params['timeout'] = (int) $timeout;
119
+        $this->_buffer->setParam('timeout', (int) $timeout);
120 120
 
121 121
         return $this;
122 122
     }
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      */
255 255
     public function executeCommand($command, $codes = array(), &$failures = null)
256 256
     {
257
-        $failures = (array)$failures;
257
+        $failures = (array) $failures;
258 258
         $stopSignal = false;
259 259
         $response = null;
260 260
 
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
             if (
288 288
             in_array(
289 289
                 strtolower($method),
290
-                array_map('strtolower', (array)$handler->exposeMixinMethods()),
290
+                array_map('strtolower', (array) $handler->exposeMixinMethods()),
291 291
                 true
292 292
             )
293 293
             ) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 
372 372
         $params = array();
373 373
         foreach ($handlers as $handler) {
374
-            $params = array_merge($params, (array)$handler->getMailParams());
374
+            $params = array_merge($params, (array) $handler->getMailParams());
375 375
         }
376 376
 
377 377
         $paramStr = !empty($params) ? ' ' . implode(' ', $params) : '';
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
         $params = array();
393 393
         foreach ($handlers as $handler) {
394
-            $params = array_merge($params, (array)$handler->getRcptParams());
394
+            $params = array_merge($params, (array) $handler->getRcptParams());
395 395
         }
396 396
 
397 397
         $paramStr = !empty($params) ? ' ' . implode(' ', $params) : '';
Please login to merge, or discard this patch.