Augmentation vers version 3.3.0
This commit is contained in:
@@ -27,9 +27,9 @@ class ExpressionExtension extends AbstractExtension
|
||||
*/
|
||||
public function getFunctions()
|
||||
{
|
||||
return array(
|
||||
new TwigFunction('expression', array($this, 'createExpression')),
|
||||
);
|
||||
return [
|
||||
new TwigFunction('expression', [$this, 'createExpression']),
|
||||
];
|
||||
}
|
||||
|
||||
public function createExpression($expression)
|
||||
|
||||
Reference in New Issue
Block a user