Skip to content

Commit e45e80e

Browse files
committed
fixed
1 parent f54cfd6 commit e45e80e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Extension/HttpKernelExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getFunctions()
2525
return array(
2626
new \Twig_SimpleFunction('render', array(HttpKernelRuntime::class, 'renderFragment'), array('is_safe' => array('html'))),
2727
new \Twig_SimpleFunction('render_*', array(HttpKernelRuntime::class, 'renderFragmentStrategy'), array('is_safe' => array('html'))),
28-
new \Twig_SimpleFunction('controller', HttpKernelRuntime::class.'::controller'),
28+
new \Twig_SimpleFunction('controller', static::class.'::controller'),
2929
);
3030
}
3131

0 commit comments

Comments
 (0)