Skip to content

Commit bbdf569

Browse files
authored
Merge branch 'main' into patch-1
2 parents 5326874 + fb41275 commit bbdf569

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DependencyInjection/OneupFlysystemExtension.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,24 @@ private function createAdapter(string $name, array $config, ContainerBuilder $co
5757
{
5858
foreach ($config as $key => $adapter) {
5959
if (\array_key_exists($key, $factories)) {
60-
$id = sprintf('oneup_flysystem.%s_adapter', $name);
60+
$id = \sprintf('oneup_flysystem.%s_adapter', $name);
6161
$factories[$key]->create($container, $id, $adapter);
6262

6363
return $id;
6464
}
6565
}
6666

67-
throw new \LogicException(sprintf('The adapter \'%s\' is not configured.', $name));
67+
throw new \LogicException(\sprintf('The adapter \'%s\' is not configured.', $name));
6868
}
6969

7070
private function createFilesystem(string $name, array $config, ContainerBuilder $container, array $adapters): Reference
7171
{
7272
if (!\array_key_exists($config['adapter'], $adapters)) {
73-
throw new \LogicException(sprintf('The adapter \'%s\' is not defined.', $config['adapter']));
73+
throw new \LogicException(\sprintf('The adapter \'%s\' is not defined.', $config['adapter']));
7474
}
7575

7676
$adapter = $adapters[$config['adapter']];
77-
$id = sprintf('oneup_flysystem.%s_filesystem', $name);
77+
$id = \sprintf('oneup_flysystem.%s_filesystem', $name);
7878

7979
$tagParams = ['key' => $name];
8080

0 commit comments

Comments
 (0)