Skip to content

Commit f348b7d

Browse files
Update doctrine.rst
Rephrased it to be independent from the grammar of the `services-constructor-injection` heading
1 parent b80123c commit f348b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ Now, you can call this method on the repository::
735735

736736
// ...
737737

738-
If you're :ref:`services-constructor-injection`, you can type-hint the
739-
``ProductRepository`` class and inject it like normal.
738+
See :ref:`services-constructor-injection` for how to inject the repository into
739+
any service.
740740

741741
Querying with the Query Builder
742742
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)