Closed johanadivare closed 1 year ago
Also bucket: ~
doesn't work maybe we should keep the same as example in https://flysystem.thephpleague.com/docs/adapter/aws-s3-v3/
So:
bucket: 'bucket-name'
prefix: 'path/prefix' # Optional path prefix
Yes, leaving it empty works because it is empty string by default: https://github.com/thephpleague/flysystem-aws-s3-v3/blob/8e04cbb403d4dfd5b73a2f8685f1df395bd177eb/AwsS3V3Adapter.php#LL101C29-L101C29
Would you mind to create a PR that changes the documentation accordingly? :)
See #279
Bug Report
When i have the following config:
I get the following error:
League\Flysystem\AwsS3V3\AwsS3V3Adapter::__construct(): Argument #3 ($prefix) must be of type string, null given, called
When i leave out
prefix
it works or settingprefix: ''
also works. Is the handling of the setting wrong or should we change the docs?