Skip to content

Commit

Permalink
Merge pull request #436 from raziel057/add-return-type-1
Browse files Browse the repository at this point in the history
Update LexikTranslationExtension.php
  • Loading branch information
bartmcleod authored Aug 7, 2023
2 parents b4c1a62 + d40737e commit 4fc1e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/LexikTranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LexikTranslationExtension extends Extension implements PrependExtensionInt
/**
* {@inheritdoc}
*/
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$processor = new Processor();
$configuration = new Configuration();
Expand Down Expand Up @@ -127,7 +127,7 @@ public function buildCacheCleanListenerDefinition(ContainerBuilder $container, $
$container->setDefinition('lexik_translation.listener.clean_translation_cache', $listener);
}

public function prepend(ContainerBuilder $container)
public function prepend(ContainerBuilder $container): void
{
if (!$container->hasExtension('twig')) {
return;
Expand Down

0 comments on commit 4fc1e76

Please sign in to comment.