Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmortlock
Copy link

WHY

Resolves the following warning when used with Symfony 7:

[2024-11-03T04:46:18.378993+00:00] deprecation.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 "Contentful\ContentfulBundle\ContentfulBundle" now to avoid 
errors or add an explicit @return annotation to suppress this message. {"exception":"[object] (ErrorException(code: 0): 
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 \"Contentful\\ContentfulBundle\\ContentfulBundle\" now to avoid 
errors or add an explicit @return annotation to suppress this message. 
at /var/www/html/member-portal/vendor/symfony/error-handler/DebugClassLoader.php:341)"}

@jmortlock jmortlock requested a review from a team as a code owner November 3, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant