@@ -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 | { |
@@ -239,6 +239,11 @@ |
||
239 | 239 | return $this->client; |
240 | 240 | } |
241 | 241 | |
242 | + /** |
|
243 | + * @param string $path |
|
244 | + * @param string $contents |
|
245 | + * @param string $mode |
|
246 | + */ |
|
242 | 247 | protected function upload($path, $contents, $mode) |
243 | 248 | { |
244 | 249 | $location = $this->applyPathPrefix($path); |