Skip to content

Commit

Permalink
Add return types for DependencyInjection functions to remove deprecta…
Browse files Browse the repository at this point in the history
…tions messages
  • Loading branch information
DennisdeBest committed Jun 19, 2023
1 parent 66d17d2 commit 5b11e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class LocatorRegistrationPass implements CompilerPassInterface
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
$container->getDefinition(Instantiator::class)
->setArguments([[
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/DataTablesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DataTablesExtension extends Extension
/**
* {@inheritdoc}
*/
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Expand Down

0 comments on commit 5b11e7e

Please sign in to comment.