Completed
Pull Request — master (#408)
by
unknown
03:02
created
src/Gaufrette/Adapter/Ftp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->ensureDirectoryExists($this->directory, $this->create);
122 122
 
123 123
         $file  = $this->computePath($key);
124
-        $lines = ftp_rawlist($this->getConnection(), '-al ' . str_replace('\\', '/', dirname($file)));
124
+        $lines = ftp_rawlist($this->getConnection(), '-al '.str_replace('\\', '/', dirname($file)));
125 125
 
126 126
         if (false === $lines) {
127 127
             return false;
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
         }
526 526
 
527 527
         // enable utf8 mode if configured
528
-        if($this->utf8 == true) {
528
+        if ($this->utf8 == true) {
529 529
             ftp_raw($this->connection, "OPTS UTF8 ON");
530 530
         }
531 531
 
Please login to merge, or discard this patch.