Skip to content

Commit

Permalink
fix deprecated for Symfony 6.4 (#719)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
a1812 authored Nov 14, 2023
1 parent d2a17ab commit eec4e4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OldSoundRabbitMqBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class OldSoundRabbitMqBundle extends Bundle
{
public function build(ContainerBuilder $container)
public function build(ContainerBuilder $container): void
{
parent::build($container);

Expand All @@ -20,7 +20,7 @@ public function build(ContainerBuilder $container)
/**
* {@inheritDoc}
*/
public function shutdown()
public function shutdown(): void
{
parent::shutdown();
if (!$this->container->hasParameter('old_sound_rabbit_mq.base_amqp')) {
Expand Down

0 comments on commit eec4e4e

Please sign in to comment.