Skip to content

Commit

Permalink
chore: review compiler passes return type-hints (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
deguif authored Dec 14, 2023
1 parent 995a503 commit 4fff6a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/Compiler/GridPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GridPass implements CompilerPassInterface
*
* @api
*/
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
if (!$container->hasDefinition('apy_grid.registry')) {
return;
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Compiler/TranslationPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TranslationPass implements CompilerPassInterface
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
if (!$container->hasDefinition('jms_translation.extractor.file_extractor')) {
return;
Expand Down

0 comments on commit 4fff6a9

Please sign in to comment.