Skip to content

Commit

Permalink
Merge pull request #9339 from hectorj/patch-2
Browse files Browse the repository at this point in the history
 Fix product repository's service id in docs
  • Loading branch information
lchrusciel committed May 4, 2018
2 parents b2dd99f + 798849c commit 62f791c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/customization/repository.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Then we are limiting the query to 8 by default, to get only 8 products that are
classes:
repository: AppBundle\Repository\ProductRepository
**3.** After configuring the ``sylius.product.repository`` service has your ``findByOnHand()`` method available.
**3.** After configuring the ``sylius.repository.product`` service has your ``findByOnHand()`` method available.
You can form now on use your method in any **Controller**.

.. code-block:: php
Expand Down

0 comments on commit 62f791c

Please sign in to comment.