Skip to content

Commit

Permalink
FIX miss parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
sescandell committed Jan 4, 2016
1 parent 1cf8de7 commit 8baefc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Twig/Extension/FormExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(TwigRendererInterface $renderer)
public function getFunctions()
{
return array(
'form_js' => new \Twig_SimpleFunction('form_js', array($this, 'renderJavascript', array('is_safe' => array('html')))),
'form_js' => new \Twig_SimpleFunction('form_js', array($this, 'renderJavascript'), array('is_safe' => array('html'))),
'form_css' => new \Twig_SimpleFunction('form_css', null, array('node_class' => 'Symfony\Bridge\Twig\Node\SearchAndRenderBlockNode', 'is_safe' => array('html'))),
);
}
Expand Down

0 comments on commit 8baefc9

Please sign in to comment.