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
In Symfony 7, fatal error is thrown:
I added the return type for that function