mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 04:27:00 +00:00
add return type for Symfony 7 compatibility
This commit is contained in:
committed by
GitHub
parent
7f4f55575b
commit
fac08ec7d3
@@ -17,10 +17,7 @@ use Twig\Extra\TwigExtraBundle\Extensions;
|
|||||||
|
|
||||||
class Configuration implements ConfigurationInterface
|
class Configuration implements ConfigurationInterface
|
||||||
{
|
{
|
||||||
/**
|
public function getConfigTreeBuilder(): TreeBuilder
|
||||||
* @return TreeBuilder
|
|
||||||
*/
|
|
||||||
public function getConfigTreeBuilder()
|
|
||||||
{
|
{
|
||||||
$treeBuilder = new TreeBuilder('twig_extra');
|
$treeBuilder = new TreeBuilder('twig_extra');
|
||||||
$rootNode = $treeBuilder->getRootNode();
|
$rootNode = $treeBuilder->getRootNode();
|
||||||
|
|||||||
Reference in New Issue
Block a user