Skip to content

Commit a15cb75

Browse files
committed
Merge branch '8.0' into 8.1
* 8.0: [Doctrine] Syntax improvements
2 parents 0b3e3eb + f3ec423 commit a15cb75

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doctrine.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Configuring the Database
3636
The database connection information is stored as an environment variable called
3737
``DATABASE_URL``. For development, you can find and customize this inside ``.env``:
3838

39-
.. code-block:: text
39+
.. code-block:: bash
4040
4141
# .env (or override DATABASE_URL in .env.local to avoid committing your changes)
4242
@@ -120,7 +120,7 @@ you need a ``Product`` object to represent those products.
120120
You can use the ``make:entity`` command to create this class and any fields you
121121
need. The command will ask you some questions - answer them as shown below:
122122

123-
.. code-block:: bash
123+
.. code-block:: terminal
124124
125125
$ php bin/console make:entity
126126
@@ -416,7 +416,7 @@ But what if you need to add a new field property to ``Product``, like a
416416
``description``? You can edit the class to add the new property. But, you can
417417
also use ``make:entity`` again:
418418

419-
.. code-block:: bash
419+
.. code-block:: terminal
420420
421421
$ php bin/console make:entity
422422
@@ -443,7 +443,7 @@ methods:
443443
444444
// src/Entity/Product.php
445445
// ...
446-
+ use Doctrine\DBAL\Types\Types;
446+
+ use Doctrine\DBAL\Types\Types;
447447
448448
class Product
449449
{

0 commit comments

Comments
 (0)