From b5f317e77feded34def4c527ec71b287381fed39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jab=C5=AFrek?= Date: Wed, 9 Oct 2024 20:18:00 +0200 Subject: [PATCH] fix: resolve deprecation notices --- src/DependencyInjection/EnginiroAssetExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DependencyInjection/EnginiroAssetExtension.php b/src/DependencyInjection/EnginiroAssetExtension.php index b144c97..91f8195 100644 --- a/src/DependencyInjection/EnginiroAssetExtension.php +++ b/src/DependencyInjection/EnginiroAssetExtension.php @@ -26,7 +26,7 @@ public function getConfiguration(array $config, ContainerBuilder $container): ?C return new Configuration($defaultManifestPath); } - protected function loadInternal(array $config, ContainerBuilder $container) { + protected function loadInternal(array $config, ContainerBuilder $container): void { $loader = new YamlFileLoader( $container, new FileLocator(__DIR__.'/../../config') @@ -38,7 +38,7 @@ protected function loadInternal(array $config, ContainerBuilder $container) { $definition->replaceArgument(0, $config['manifest_path']); } - public function prepend(ContainerBuilder $container) { + public function prepend(ContainerBuilder $container): void { $config = [ 'assets' => [ 'version_strategy' => 'enginiro.asset.version_strategy'