helios-ag / FMElfinderBundle

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
MIT License
275 stars 128 forks source link

User Deprecated: Bundle::build() might add "void" as a native return type #512

Closed jontjs closed 6 months ago

jontjs commented 9 months ago

Describe the bug Symfony console commands (make:entity in my case, but I expect it happens with other commands) emit this warning:

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 "FM\ElfinderBundle\FMElfinderBundle" now to avoid errors or add an explicit @return annotation to suppress this message.

To Reproduce Run php bin/console make:entity Foo.

Proposed fix PR