diff --git a/src/DependencyInjection/Factory/Adapter/GoogleCloudStorageFactory.php b/src/DependencyInjection/Factory/Adapter/GoogleCloudStorageFactory.php index cdd76a6..bc8b127 100644 --- a/src/DependencyInjection/Factory/Adapter/GoogleCloudStorageFactory.php +++ b/src/DependencyInjection/Factory/Adapter/GoogleCloudStorageFactory.php @@ -32,7 +32,7 @@ public function create(ContainerBuilder $container, string $id, array $config): ->replaceArgument(0, $bucket) ->replaceArgument(1, $config['prefix']) ->replaceArgument(2, $visibilityHandler) - ->replaceArgument(3, $config['defaultVisiblity']) + ->replaceArgument(3, $config['defaultVisibility']) ->replaceArgument(4, $config['mimeTypeDetector']) ; } @@ -45,7 +45,7 @@ public function addConfiguration(NodeDefinition $node): void ->scalarNode('bucket')->isRequired()->end() ->scalarNode('prefix')->treatNullLike('')->defaultValue('')->end() ->scalarNode('visibilityHandler')->defaultNull()->end() - ->scalarNode('defaultVisiblity')->defaultValue(Visibility::PRIVATE)->end() + ->scalarNode('defaultVisibility')->defaultValue(Visibility::PRIVATE)->end() ->scalarNode('mimeTypeDetector')->defaultNull()->end() ->end() ; diff --git a/src/DependencyInjection/Factory/Adapter/InMemoryFactory.php b/src/DependencyInjection/Factory/Adapter/InMemoryFactory.php index 4a56efb..506f22d 100644 --- a/src/DependencyInjection/Factory/Adapter/InMemoryFactory.php +++ b/src/DependencyInjection/Factory/Adapter/InMemoryFactory.php @@ -21,7 +21,7 @@ public function create(ContainerBuilder $container, string $id, array $config): { $container ->setDefinition($id, new ChildDefinition('oneup_flysystem.adapter.memory')) - ->replaceArgument(0, $config['defaultVisiblity']) + ->replaceArgument(0, $config['defaultVisibility']) ; } @@ -29,7 +29,7 @@ public function addConfiguration(NodeDefinition $node): void { $node ->children() - ->scalarNode('defaultVisiblity')->defaultValue(Visibility::PUBLIC)->end() + ->scalarNode('defaultVisibility')->defaultValue(Visibility::PUBLIC)->end() ->end() ; }