Skip to content

Commit

Permalink
Update namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
iampersistent authored Nov 23, 2022
1 parent 70c50e6 commit f0ac9ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Factory/Adapter/AwsS3V3AdapterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Aws\S3\S3Client;
use ConfigValue\GatherConfigValues;
use League\Flysystem\AwsS3V3\AwsS3V3Adapter;
use League\Flysystem\AwsS3V3\PortableVisibilityConverter;
use Psr\Container\ContainerInterface;

final class AwsS3V3AdapterFactory
Expand Down Expand Up @@ -35,7 +36,7 @@ public function __invoke(ContainerInterface $container): AwsS3V3Adapter
$bucket = $config['bucket'];
$prefix = $config['prefix'] ?? '';
$visibility = $config['visibility'] ?
new \League\Flysystem\AwsS3V3\PortableVisibilityConverter(
new PortableVisibilityConverter(
$config['visibility']
) : null;

Expand Down

0 comments on commit f0ac9ab

Please sign in to comment.