Skip to content

Commit 63b19ed

Browse files
[Doc] Fix minor RST syntax issue
1 parent 52e3b82 commit 63b19ed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Resources/doc/index.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,9 @@ application:
9191
# Custom migration sorting service id via callables (MyCallableFactory must be a callable)
9292
'Doctrine\Migrations\Version\Comparator': 'MyCallableFactory'
9393
94-
95-
96-
9794
- The ``services`` node allows you to provide custom services to the underlying ``DependencyFactory`` part of ``doctrine/migrations``.
9895
- The node ``factories`` is similar to ``services``, with the difference that it accepts only callables.
96+
9997
The provided callable must return the service to be passed to the ``DependencyFactory``.
10098
The callable will receive as first argument the ``DependencyFactory`` itself,
10199
allowing you to fetch other dependencies from the factory while instantiating your custom dependencies.

0 commit comments

Comments
 (0)