Skip to content

Commit

Permalink
minor #4023 Fixed variable typo in doc (creiner)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0.x-dev branch.

Discussion
----------

Fixed variable typo in doc

As reported in #4017

Commits
-------

4f9a9e6 Fixed variable typo
  • Loading branch information
javiereguiluz committed Dec 5, 2020
2 parents 7fb9bdc + 4f9a9e6 commit 81fee76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/actions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ The following example shows all kinds of actions in practice::

// 2) using a callable (useful if parameters depend on the entity instance)
// (the type-hint of the function argument is optional but useful)
->linkToRoute('invoice_send', function (Order $entity) {
->linkToRoute('invoice_send', function (Order $order) {
return [
'uuid' => $order->getId(),
'method' => $order->getUser()->getPreferredSendingMethod(),
Expand Down

0 comments on commit 81fee76

Please sign in to comment.