From 6502c2b7510820711d54c193b60e280d4ae0deac Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 8 Oct 2024 19:45:35 +0200 Subject: [PATCH] add void --- .../CompilerPass/ProxyServiceWithMockPass.php | 2 +- src/DependencyInjection/HappyrServiceMockingExtension.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DependencyInjection/CompilerPass/ProxyServiceWithMockPass.php b/src/DependencyInjection/CompilerPass/ProxyServiceWithMockPass.php index 664c4ba..1e3fa0e 100644 --- a/src/DependencyInjection/CompilerPass/ProxyServiceWithMockPass.php +++ b/src/DependencyInjection/CompilerPass/ProxyServiceWithMockPass.php @@ -11,7 +11,7 @@ class ProxyServiceWithMockPass implements CompilerPassInterface { - public function process(ContainerBuilder $container) + public function process(ContainerBuilder $container): void { /** @var array $serviceIds */ $serviceIds = $container->getParameter('happyr_service_mock.services'); diff --git a/src/DependencyInjection/HappyrServiceMockingExtension.php b/src/DependencyInjection/HappyrServiceMockingExtension.php index aba620d..a3a4e44 100644 --- a/src/DependencyInjection/HappyrServiceMockingExtension.php +++ b/src/DependencyInjection/HappyrServiceMockingExtension.php @@ -7,7 +7,7 @@ class HappyrServiceMockingExtension extends Extension { - public function load(array $configs, ContainerBuilder $container) + public function load(array $configs, ContainerBuilder $container): void { $configuration = new Configuration(); $config = $this->processConfiguration($configuration, $configs);