Skip to content

Commit 9fad7f1

Browse files
committed
Add return types preventitavely
1 parent 02fe1c4 commit 9fad7f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DependencyInjection/Compiler/HealthCheckPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class HealthCheckPass implements CompilerPassInterface
3030
/**
3131
* @SuppressWarnings(PHPMD.UnusedLocalVariable) $tags is never used in the foreach
3232
*/
33-
public function process(ContainerBuilder $container)
33+
public function process(ContainerBuilder $container): void
3434
{
3535
if (!$container->has('openconext.monitor.health_check_chain')) {
3636
return;

src/DependencyInjection/OpenConextMonitorExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class OpenConextMonitorExtension extends Extension
3434
/**
3535
* @throws \Exception
3636
*/
37-
public function load(array $configs, ContainerBuilder $container)
37+
public function load(array $configs, ContainerBuilder $container): void
3838
{
3939
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
4040
$loader->load('services.yml');

0 commit comments

Comments
 (0)