@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | */ |
98 | 98 | public function rename($path, $newpath) |
99 | 99 | { |
100 | - $this->copy($path,$newpath); |
|
100 | + $this->copy($path, $newpath); |
|
101 | 101 | return $this->delete($path); |
102 | 102 | } |
103 | 103 | |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | public function listContents($directory = '', $recursive = false) |
179 | 179 | { |
180 | 180 | $list = []; |
181 | - $result = $this->client()->read($directory, null, [ 'X-List-Limit' => 100, 'X-List-Iter' => null]); |
|
181 | + $result = $this->client()->read($directory, null, ['X-List-Limit' => 100, 'X-List-Iter' => null]); |
|
182 | 182 | foreach ($result['files'] as $files) { |
183 | 183 | $list[] = $this->normalizeFileInfo($files); |
184 | 184 | } |