omines / datatables-bundle

DataTables bundle for Symfony
https://omines.github.io/datatables-bundle/
MIT License
260 stars 114 forks source link

Add return types for DependencyInjection functions to remove deprectations messages #306

Closed DennisdeBest closed 1 year ago

DennisdeBest commented 1 year ago

In symfony 6.3 deprecation messages like :

Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "Omines\DataTablesBundle\DependencyInjection\Compiler\LocatorRegistrationPass" now to avoid errors or add an explicit @return annotation to suppress this message.

were added, I added the return types for the two classes that generated the deprecation messages.

curry684 commented 1 year ago

Thanks :)