Skip to content

Commit fa5eaf9

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: [ExpressionLanguage] Fix backslashes count
2 parents f463e7a + 404db1a commit fa5eaf9

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)