Skip to content

Commit 0dc5f71

Browse files
authored
Apply suggestions from code review
1 parent 1601f09 commit 0dc5f71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,13 @@ machine type, use ``camelCased workflow name + StateMachine``::
310310
}
311311
}
312312

313-
To get all enabled transitions of a Workflow, you can use
314-
:method:`Symfony\\Component\\Workflow\\WorkflowInterface::getEnabledTransitions`
313+
To get the enabled transition of a Workflow, you can use
314+
:method:`Symfony\\Component\\Workflow\\WorkflowInterface::getEnabledTransition`
315315
method.
316316

317317
.. versionadded:: 7.1
318318

319-
The :method:`Symfony\\Component\\Workflow\\WorkflowInterface::getEnabledTransitions` method
319+
The :method:`Symfony\\Component\\Workflow\\WorkflowInterface::getEnabledTransition` method
320320
was introduced in Symfony 7.1.
321321

322322
Workflows can also be injected thanks to their name and the

0 commit comments

Comments
 (0)