From 67fbd12bbf0e0d860736ca2f7ce6a220ce3962d5 Mon Sep 17 00:00:00 2001 From: "gary.houbre" Date: Sat, 23 Nov 2019 17:22:55 +0100 Subject: [PATCH] fix doctrine page --- doctrine.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doctrine.rst b/doctrine.rst index 82de7b97ad8..3791ae898a9 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -86,7 +86,7 @@ you need a ``Product`` object to represent those products. You can use the ``make:entity`` command to create this class and any fields you need. The command will ask you some questions - answer them like done below: -.. code-block:: terminal +.. code-block:: bash $ php bin/console make:entity @@ -248,7 +248,7 @@ But what if you need to add a new field property to ``Product``, like a ``description``? You can edit the class to add the new property. But, you can also use ``make:entity`` again: -.. code-block:: terminal +.. code-block:: bash $ php bin/console make:entity