Skip to content

Commit 404db1a

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: [ExpressionLanguage] Fix backslashes count
2 parents 5e9f068 + b998a55 commit 404db1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/formats/expression_language.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ This also works with class constants::
171171
}
172172

173173
var_dump($expressionLanguage->evaluate(
174-
'constant("App\\\SomeNamespace\\\Foo::API_ENDPOINT")'
174+
'constant("App\\\\SomeNamespace\\\\Foo::API_ENDPOINT")'
175175
));
176176

177177
This will print out ``/api``.
@@ -189,7 +189,7 @@ This function will return the case of an enumeration::
189189
}
190190

191191
var_dump(App\Enum\Foo::Bar === $expressionLanguage->evaluate(
192-
'enum("App\\\SomeNamespace\\\Foo::Bar")'
192+
'enum("App\\\\SomeNamespace\\\\Foo::Bar")'
193193
));
194194

195195
This will print out ``true``.

0 commit comments

Comments
 (0)