Passed
Push — master ( 4fd65c...162a39 )
by Malte
02:20
created
src/IMAP/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @var array $validConfigKeys
115 115
      */
116
-    protected $validConfigKeys = ['host', 'port', 'encryption', 'validate_cert', 'username', 'password','protocol'];
116
+    protected $validConfigKeys = ['host', 'port', 'encryption', 'validate_cert', 'username', 'password', 'protocol'];
117 117
 
118 118
     /**
119 119
      * Client constructor.
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
      */
331 331
     public function createFolder($name) {
332 332
         $this->checkConnection();
333
-        return imap_createmailbox($this->connection, $this->getAddress() . imap_utf7_encode($name));
333
+        return imap_createmailbox($this->connection, $this->getAddress().imap_utf7_encode($name));
334 334
     }
335 335
     
336 336
     /**
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
      */
344 344
     public function renameFolder($old_name, $new_name) {
345 345
         $this->checkConnection();
346
-        return imap_renamemailbox($this->connection, $this->getAddress() . imap_utf7_encode($old_name), $this->getAddress() . imap_utf7_encode($new_name));
346
+        return imap_renamemailbox($this->connection, $this->getAddress().imap_utf7_encode($old_name), $this->getAddress().imap_utf7_encode($new_name));
347 347
     }
348 348
     
349 349
      /**
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
      */
356 356
     public function deleteFolder($name) {
357 357
         $this->checkConnection();
358
-        return imap_deletemailbox($this->connection, $this->getAddress() . imap_utf7_encode($name));
358
+        return imap_deletemailbox($this->connection, $this->getAddress().imap_utf7_encode($name));
359 359
     }
360 360
 
361 361
     /**
Please login to merge, or discard this patch.