Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from daohoangson/can_overwrite_Files
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricziel authored Feb 2, 2021
2 parents 39c08e0 + 450ae78 commit 48929f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": ">=7.2",
"google/cloud-storage": "^1.3",
"league/flysystem": "^1.0"
"league/flysystem": "^1.0.40"
},
"require-dev": {
"phpunit/phpunit": ">=8.5"
Expand Down
3 changes: 2 additions & 1 deletion src/GoogleCloudStorageAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Google\Cloud\Storage\StorageClient;
use Google\Cloud\Storage\StorageObject;
use League\Flysystem\Adapter\AbstractAdapter;
use League\Flysystem\Adapter\CanOverwriteFiles;
use League\Flysystem\Adapter\Polyfill\StreamedReadingTrait;
use League\Flysystem\AdapterInterface;
use League\Flysystem\Config;
Expand All @@ -23,7 +24,7 @@
*
* @see AdapterInterface
*/
class GoogleCloudStorageAdapter extends AbstractAdapter
class GoogleCloudStorageAdapter extends AbstractAdapter implements CanOverwriteFiles
{
use StreamedReadingTrait;

Expand Down

0 comments on commit 48929f6

Please sign in to comment.