overblog / GraphQLBundle

This bundle provides tools to build a complete GraphQL API server in your Symfony App.
MIT License
783 stars 221 forks source link

CompilerPassInterface::process() might add "void" as a native return type declaration in the future #1134

Open Evgeny1973 opened 1 year ago

Evgeny1973 commented 1 year ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version/Branch 1.0.0

Symfony 6.3.4, Overblog 1.0.0 i'm getting these deprecations: Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "Overblog\GraphiQLBundle\DependencyInjection\Compiler\Endpoints\OverblogGraphQLBundleEndpointWiringPass" now to avoid errors or add an explicit @return annotation to suppress this message. Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "Overblog\GraphiQLBundle\DependencyInjection\Compiler\Endpoints\DefaultEndpointWiringPass" now to avoid errors or add an explicit @return annotation to suppress this message.

mcg-web commented 1 year ago

This seem to be a bug indeed ! Can you open a PR to fix this, please ?

Evgeny1973 commented 1 year ago

Sorry, but I'm not that cool of a developer. ;)