@@ -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); |
@@ -68,6 +68,6 @@ |
||
| 68 | 68 | |
| 69 | 69 | public function __toString() |
| 70 | 70 | { |
| 71 | - return (string)$this->getRelativePath(); |
|
| 71 | + return (string) $this->getRelativePath(); |
|
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | \ No newline at end of file |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | $storeFile = new Store\File($relativePath, $fileUpload->getName(), $fileUpload->getContentType()); |
| 40 | 40 | |
| 41 | - if($extendStoredFile !== NULL) { |
|
| 41 | + if ($extendStoredFile !== NULL) { |
|
| 42 | 42 | $extendStoredFile($storeFile, $fileUpload); |
| 43 | 43 | } |
| 44 | 44 | |