Skip to content

Commit 1d24d2a

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Fix Uncaught ArgumentCountError
2 parents 089f71f + 6be6359 commit 1d24d2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/expression_language.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ other hand, returns a boolean indicating if the expression is valid or not::
9999

100100
$expressionLanguage = new ExpressionLanguage();
101101

102-
var_dump($expressionLanguage->parse('1 + 2'));
102+
var_dump($expressionLanguage->parse('1 + 2', []));
103103
// displays the AST nodes of the expression which can be
104104
// inspected and manipulated
105105

106-
var_dump($expressionLanguage->lint('1 + 2')); // displays true
106+
var_dump($expressionLanguage->lint('1 + 2', [])); // displays true
107107

108108
The behavior of these methods can be configured with some flags defined in the
109109
:class:`Symfony\\Component\\ExpressionLanguage\\Parser` class:

0 commit comments

Comments
 (0)