Skip to content

Commit eec4e4e

Browse files
authored
fix deprecated for Symfony 6.4 (#719)
2023-11-14T11:38:05+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "OldSound\RabbitMqBundle\OldSoundRabbitMqBundle" now to avoid errors or add an explicit @return annotation to suppress this message. 2023-11-14T11:38:05+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::shutdown()" might add "void" as a native return type declaration in the future. Do the same in child class "OldSound\RabbitMqBundle\OldSoundRabbitMqBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
1 parent d2a17ab commit eec4e4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OldSoundRabbitMqBundle.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class OldSoundRabbitMqBundle extends Bundle
1111
{
12-
public function build(ContainerBuilder $container)
12+
public function build(ContainerBuilder $container): void
1313
{
1414
parent::build($container);
1515

@@ -20,7 +20,7 @@ public function build(ContainerBuilder $container)
2020
/**
2121
* {@inheritDoc}
2222
*/
23-
public function shutdown()
23+
public function shutdown(): void
2424
{
2525
parent::shutdown();
2626
if (!$this->container->hasParameter('old_sound_rabbit_mq.base_amqp')) {

0 commit comments

Comments
 (0)