Skip to content

Commit e351f6d

Browse files
authored
Update expression_language.rst
Sync with last commits
1 parent edc59b2 commit e351f6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/expression_language.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ if the expression is not valid::
104104
// displays the AST nodes of the expression which can be
105105
// inspected and manipulated
106106

107+
$expressionLanguage->lint('1 + 2', []); // doesn't throw anything
108+
107109
$expressionLanguage->lint('1 + a', []);
108110
// Throw SyntaxError Exception
109111
// "Variable "a" is not valid around position 5 for expression `1 + a`."

0 commit comments

Comments
 (0)