Skip to content

Commit

Permalink
Add void return type for registerContainerConfiguration()
Browse files Browse the repository at this point in the history
In order to fix the deprecation message in #395
  • Loading branch information
bocharsky-bw authored Mar 20, 2023
1 parent f7fe73e commit 1664955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/app/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function registerBundles(): iterable
];
}

public function registerContainerConfiguration(LoaderInterface $loader)
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(function (ContainerBuilder $container) {
$container->setDefinition('test.http_client', new Definition(Client::class, [
Expand Down

0 comments on commit 1664955

Please sign in to comment.