@@ -43,7 +43,7 @@ |
||
43 | 43 | ->addSetup('connect', [$options['host'], $options['port']]) |
44 | 44 | ->addSetup('login', [$options['user'], $options['password']]) |
45 | 45 | ->addSetup('pasv', [$options['passive']]); |
46 | - if($options['path']) { |
|
46 | + if ($options['path']) { |
|
47 | 47 | $ftp->addSetup('chdir', [$options['path']]); |
48 | 48 | } |
49 | 49 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | { |
39 | 39 | $path = Upload\Utils::makeRelativePath($relativePath); |
40 | 40 | $dir = dirname($relativePath); |
41 | - if($dir !== '.') { |
|
41 | + if ($dir !== '.') { |
|
42 | 42 | $this->ftp->mkDirRecursive($dir); |
43 | 43 | } |
44 | 44 | $this->ftp->put($path, $fileUpload->getTemporaryFile(), FTP_BINARY); |