Skip to content

Commit 67af904

Browse files
authored
Add void return type in DoctrineSchemaCompilerPass
Fixes this deprecation on Symfony 6.3: ``` Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "Enqueue\Doctrine\DoctrineSchemaCompilerPass" now to avoid errors or add an explicit @return annotation to suppress this message. ```
1 parent 85a6bec commit 67af904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/enqueue/Doctrine/DoctrineSchemaCompilerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class DoctrineSchemaCompilerPass implements CompilerPassInterface
1313
{
14-
public function process(ContainerBuilder $container)
14+
public function process(ContainerBuilder $container): void
1515
{
1616
if (false === $container->hasDefinition('doctrine')) {
1717
return;

0 commit comments

Comments
 (0)