omines / datatables-bundle

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

Add return type in DependencyInjection Configuration function to remove fatal error in PHP8.2/Symfony7 #321

Closed Skorpio84 closed 10 months ago

Skorpio84 commented 10 months ago

In Symfony 7, fatal error is thrown:

Fatal error: Declaration of Omines\DataTablesBundle\DependencyInjection\Configuration::getConfigTreeBuilder() must be compatible with Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder(): Symfony\Component\Config\Definition\Builder\TreeBuilder

I added the return type for that function

curry684 commented 10 months ago

Thank you 😄

curry684 commented 10 months ago

https://github.com/omines/datatables-bundle/releases/tag/0.8.0-rc.3, by all means test some more 😉