diff --git a/doctrine.rst b/doctrine.rst index 45bc7af8503..82de7b97ad8 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -735,8 +735,8 @@ Now, you can call this method on the repository:: // ... -If you're in a :ref:`services-constructor-injection`, you can type-hint the -``ProductRepository`` class and inject it like normal. +See :ref:`services-constructor-injection` for how to inject the repository into +any service. Querying with the Query Builder ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~