Skip to content

Commit ca68dbc

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Update extending.rst Update example to use tagged_locator helper function
2 parents 76204b7 + 2fb7d8b commit ca68dbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/expression_language/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Example::
4949

5050
In addition to the custom function arguments, the **evaluator** is passed an
5151
``arguments`` variable as its first argument, which is equal to the second
52-
argument of ``compile()`` (e.g. the "values" when evaluating an expression).
52+
argument of ``evaluate()`` (e.g. the "values" when evaluating an expression).
5353

5454
.. _components-expression-language-provider:
5555

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ attribute to the locator service defining the name of this custom method:
555555
return function(ContainerConfigurator $configurator) {
556556
$configurator->services()
557557
->set(App\HandlerCollection::class)
558-
->args([service_locator(tagged('app.handler', null, 'myOwnMethodName'))])
558+
->args([tagged_locator('app.handler', null, 'myOwnMethodName')])
559559
;
560560
};
561561

0 commit comments

Comments
 (0)