From 6323668daabddca12942ea6f87fbb647320a734f Mon Sep 17 00:00:00 2001 From: David Greminger Date: Wed, 25 Sep 2024 16:49:00 +0200 Subject: [PATCH] CS --- src/DependencyInjection/OneupFlysystemExtension.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DependencyInjection/OneupFlysystemExtension.php b/src/DependencyInjection/OneupFlysystemExtension.php index 3624b95..83d9ba5 100644 --- a/src/DependencyInjection/OneupFlysystemExtension.php +++ b/src/DependencyInjection/OneupFlysystemExtension.php @@ -57,24 +57,24 @@ private function createAdapter(string $name, array $config, ContainerBuilder $co { foreach ($config as $key => $adapter) { if (\array_key_exists($key, $factories)) { - $id = sprintf('oneup_flysystem.%s_adapter', $name); + $id = \sprintf('oneup_flysystem.%s_adapter', $name); $factories[$key]->create($container, $id, $adapter); return $id; } } - throw new \LogicException(sprintf('The adapter \'%s\' is not configured.', $name)); + throw new \LogicException(\sprintf('The adapter \'%s\' is not configured.', $name)); } private function createFilesystem(string $name, array $config, ContainerBuilder $container, array $adapters): Reference { if (!\array_key_exists($config['adapter'], $adapters)) { - throw new \LogicException(sprintf('The adapter \'%s\' is not defined.', $config['adapter'])); + throw new \LogicException(\sprintf('The adapter \'%s\' is not defined.', $config['adapter'])); } $adapter = $adapters[$config['adapter']]; - $id = sprintf('oneup_flysystem.%s_filesystem', $name); + $id = \sprintf('oneup_flysystem.%s_filesystem', $name); $tagParams = ['key' => $name];