@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | public function sync(Target $target, Result $result) |
78 | 78 | { |
79 | 79 | $sourcePath = $target->getPathname(); |
80 | - $dropboxPath = $this->path . $target->getFilename(); |
|
80 | + $dropboxPath = $this->path.$target->getFilename(); |
|
81 | 81 | $config = new DropboxConfig("id", "secret", $this->token); |
82 | 82 | $client = new DropboxApi($config); |
83 | 83 | try { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } catch (\Exception $e) { |
87 | 87 | throw new Exception($e->getMessage(), null, $e); |
88 | 88 | } |
89 | - $result->debug('upload: done (' . $meta->getSize() . ')'); |
|
89 | + $result->debug('upload: done ('.$meta->getSize().')'); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | public function simulate(Target $target, Result $result) |
99 | 99 | { |
100 | 100 | $result->debug( |
101 | - 'sync backup to dropbox' . PHP_EOL |
|
102 | - . ' token: ********' . PHP_EOL |
|
103 | - . ' location: ' . $this->path |
|
101 | + 'sync backup to dropbox'.PHP_EOL |
|
102 | + . ' token: ********'.PHP_EOL |
|
103 | + . ' location: '.$this->path |
|
104 | 104 | ); |
105 | 105 | } |
106 | 106 | } |