@@ -287,6 +287,11 @@ |
||
287 | 287 | return '/' . ltrim(rtrim($path, '/'), '/'); |
288 | 288 | } |
289 | 289 | |
290 | + /** |
|
291 | + * @param string $path |
|
292 | + * @param string $contents |
|
293 | + * @param string $mode |
|
294 | + */ |
|
290 | 295 | protected function upload($path, $contents, $mode) |
291 | 296 | { |
292 | 297 | $location = $this->applyPathPrefix($path); |
@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace Spatie\FlysystemDropbox; |
4 | 4 | |
5 | 5 | |
6 | +use Exception; |
|
6 | 7 | use League\Flysystem\Adapter\AbstractAdapter; |
7 | 8 | use League\Flysystem\Adapter\Polyfill\NotSupportingVisibilityTrait; |
8 | 9 | use League\Flysystem\Config; |
9 | -use Exception; |
|
10 | 10 | |
11 | 11 | class DropboxAdapter extends AbstractAdapter |
12 | 12 | { |