Skip to content

Commit bf750f2

Browse files
committed
Correct spelling & grammar in 4.4 doctrine/
1 parent 62c0653 commit bf750f2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

doctrine/associations.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ config.
299299
*exactly* like an array, but has some added flexibility. Just imagine that
300300
it is an ``array`` and you'll be in good shape.
301301

302-
Your database is setup! Now, run the migrations like normal:
302+
Your database is set up! Now, run the migrations like normal:
303303

304304
.. code-block:: terminal
305305

doctrine/dbal.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Registering custom Mapping Types in the SchemaTool
120120

121121
The SchemaTool is used to inspect the database to compare the schema. To
122122
achieve this task, it needs to know which mapping type needs to be used
123-
for each database types. Registering new ones can be done through the configuration.
123+
for each database type. Registering new ones can be done through the configuration.
124124

125125
Now, map the ENUM type (not supported by DBAL by default) to the ``string``
126126
mapping type:

doctrine/registration_form.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ form you must:
1414
#. :doc:`Create a form </forms>` to ask for the registration information (you can
1515
generate this with the ``make:registration-form`` command provided by the `MakerBundle`_);
1616
#. Create :doc:`a controller </controller>` to :ref:`process the form <processing-forms>`;
17-
#. :ref:`Protect some parts of your application <security-authorization>` so
18-
only registered users can access to them.
17+
#. :ref:`Protect some parts of your application <security-authorization>` so that
18+
only registered users can access them.
1919

2020
.. _`MakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html

doctrine/resolve_target_entity.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
How to Define Relationships with Abstract Classes and Interfaces
66
================================================================
77

8-
One of the goals of bundles is to create discreet bundles of functionality
8+
One of the goals of bundles is to create discrete bundles of functionality
99
that do not have many (if any) dependencies, allowing you to use that
1010
functionality in other applications without including unnecessary items.
1111

doctrine/reverse_engineering.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to Generate Entities from an Existing Database
55
==================================================
66

77
When starting work on a brand new project that uses a database, two different
8-
situations comes naturally. In most cases, the database model is designed
8+
situations can occur. In most cases, the database model is designed
99
and built from scratch. Sometimes, however, you'll start with an existing and
1010
probably unchangeable database model. Fortunately, Doctrine comes with a bunch
1111
of tools to help generate model classes from your existing database.
@@ -47,7 +47,7 @@ to a post record thanks to a foreign key constraint.
4747
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
4848
4949
Before diving into the recipe, be sure your database connection parameters are
50-
correctly setup in the ``.env`` file (or ``.env.local`` override file).
50+
correctly set up in the ``.env`` file (or ``.env.local`` override file).
5151

5252
The first step towards building entity classes from an existing database
5353
is to ask Doctrine to introspect the database and generate the corresponding

0 commit comments

Comments
 (0)