@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | { |
| 117 | 117 | foreach (['auth_url', 'region', 'username', 'password', 'container_name'] as $option) { |
| 118 | 118 | if (!Arr::isSetAndNotEmptyString($config, $option)) { |
| 119 | - throw new Exception($option . ' is mandatory'); |
|
| 119 | + throw new Exception($option.' is mandatory'); |
|
| 120 | 120 | } |
| 121 | 121 | } |
| 122 | 122 | } |
@@ -179,11 +179,11 @@ discard block |
||
| 179 | 179 | public function simulate(Target $target, Result $result) |
| 180 | 180 | { |
| 181 | 181 | $result->debug( |
| 182 | - 'sync backup to OpenStack' . PHP_EOL |
|
| 183 | - . ' region: ' . $this->region . PHP_EOL |
|
| 184 | - . ' key: ' . $this->username . PHP_EOL |
|
| 185 | - . ' password: ********' . PHP_EOL |
|
| 186 | - . ' container: ' . $this->containerName |
|
| 182 | + 'sync backup to OpenStack'.PHP_EOL |
|
| 183 | + . ' region: '.$this->region.PHP_EOL |
|
| 184 | + . ' key: '.$this->username.PHP_EOL |
|
| 185 | + . ' password: ********'.PHP_EOL |
|
| 186 | + . ' container: '.$this->containerName |
|
| 187 | 187 | ); |
| 188 | 188 | } |
| 189 | 189 | |
@@ -209,6 +209,6 @@ discard block |
||
| 209 | 209 | */ |
| 210 | 210 | public function getUploadPath(Target $target) |
| 211 | 211 | { |
| 212 | - return $this->path . $target->getFilename(); |
|
| 212 | + return $this->path.$target->getFilename(); |
|
| 213 | 213 | } |
| 214 | 214 | } |