From 32a181050a33ea17afc4420ef88dd054ae59f545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Sun, 24 Nov 2024 11:05:56 +0100 Subject: [PATCH] Fix private service configuration --- config/services.php | 2 +- src/SensiolabsMinifyBundle.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/services.php b/config/services.php index 213c580..ef9b9be 100644 --- a/config/services.php +++ b/config/services.php @@ -43,7 +43,7 @@ ->alias(MinifierInterface::class, 'sensiolabs_minify.minifier') - ->set('.sensiolabs_minify.asset_mapper.compiler', MinifierCompiler::class) + ->set('sensiolabs_minify.asset_mapper.compiler', MinifierCompiler::class) ->args([service('sensiolabs_minify.minifier')]) ->tag('asset_mapper.compiler', ['priority' => -1024]) diff --git a/src/SensiolabsMinifyBundle.php b/src/SensiolabsMinifyBundle.php index b66392c..a666613 100644 --- a/src/SensiolabsMinifyBundle.php +++ b/src/SensiolabsMinifyBundle.php @@ -43,7 +43,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C ->get('.sensiolabs_minify.minifier.minify_factory') ->arg(0, $config['minify']['local_binary']) - ->get('.sensiolabs_minify.asset_mapper.compiler') + ->get('sensiolabs_minify.asset_mapper.compiler') ->arg(1, array_keys(array_filter($config['asset_mapper']['types']), boolval(...))) ->arg(2, $config['asset_mapper']['ignore_paths']) ->arg(3, $config['asset_mapper']['ignore_vendor']) @@ -51,7 +51,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C if (!$config['asset_mapper']['enabled']) { $container->services() - ->remove('.sensiolabs_minify.asset_mapper.compiler') + ->remove('sensiolabs_minify.asset_mapper.compiler') ; }