Skip to content

Commit ab84543

Browse files
authored
Update expression_language.rst
Change comment explication for "IGNORE_*" flags
1 parent e351f6d commit ab84543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/expression_language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ This is how you can use these flags::
125125

126126
$expressionLanguage = new ExpressionLanguage();
127127

128-
// this returns null because the unknown variables and functions are ignored, but don't throw `SyntaxError` exception
128+
// Does not throw a SyntaxError because the unknown variables and functions are ignored
129129
$expressionLanguage->lint('unknown_var + unknown_function()', [], Parser::IGNORE_UNKNOWN_VARIABLES | Parser::IGNORE_UNKNOWN_FUNCTIONS);
130130

131131
.. versionadded:: 7.1

0 commit comments

Comments
 (0)