schmittjoh / JMSI18nRoutingBundle

Allows you to internationalize your routing
http://jmsyst.com/bundles/JMSI18nRoutingBundle
358 stars 159 forks source link

Fix deprecation with return type in `JMSI18nRoutingBundle::getContainerExtension` #258

Closed nocive closed 2 years ago

nocive commented 2 years ago

Fix deprecation notice in symfony 5.4.x

[14-Mar-2022 14:00:09 UTC] 2022-03-14T14:00:09+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "JMS\I18nRoutingBundle\JMSI18nRoutingBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
nocive commented 2 years ago

I see now there are already a bunch of open PRs which have received no attention. :( Closing.