diff --git a/book/doctrine.rst b/book/doctrine.rst index 63c15079822..ba6cf3617b1 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -951,8 +951,6 @@ To relate the ``Category`` and ``Product`` entities, start by creating a products: targetEntity: Product mappedBy: category - # don't forget to init the collection in the __construct() method - # of the entity .. code-block:: xml