Skip to content

Commit 0f8730a

Browse files
authored
Merge pull request #12331 from greg0ire/a-the
Fix grammatical errors
2 parents 492745d + 0aeddd0 commit 0f8730a

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

UPGRADE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ from 2.0 have to configure the annotation driver if they don't use `Configuratio
12481248

12491249
## Scalar mappings can now be omitted from DQL result
12501250

1251-
You are now allowed to mark scalar SELECT expressions as HIDDEN an they are not hydrated anymore.
1251+
You are now allowed to mark scalar SELECT expressions as HIDDEN and they are not hydrated anymore.
12521252
Example:
12531253

12541254
SELECT u, SUM(a.id) AS HIDDEN numArticles FROM User u LEFT JOIN u.Articles a ORDER BY numArticles DESC HAVING numArticles > 10

docs/en/reference/second-level-cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Caching mode
133133
* Read Write cache employs locks before update/delete.
134134
* Use if data needs to be updated.
135135
* Slowest strategy.
136-
* To use it a the cache region implementation must support locking.
136+
* To use it the cache region implementation must support locking.
137137

138138

139139
Built-in cached persisters

docs/en/reference/tools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ have to register them yourself.
2222
All the commands of the Doctrine Console require access to the
2323
``EntityManager``. You have to inject it into the console application.
2424

25-
Here is an example of a the project-specific ``bin/doctrine`` binary.
25+
Here is an example of a project-specific ``bin/doctrine`` binary.
2626

2727
.. code-block:: php
2828

src/AbstractQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ public function getResultCacheId()
13751375
}
13761376

13771377
/**
1378-
* Executes the query and returns a the resulting Statement object.
1378+
* Executes the query and returns the resulting Statement object.
13791379
*
13801380
* @return Result|int The executed database statement that holds
13811381
* the results, or an integer indicating how

src/Mapping/MappingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public static function oneToManyRequiresMappedBy(string $entityName, string $fie
280280
*/
281281
public static function joinTableRequired($fieldName)
282282
{
283-
return new self(sprintf("The mapping of field '%s' requires an the 'joinTable' attribute.", $fieldName));
283+
return new self(sprintf("The mapping of field '%s' requires the 'joinTable' attribute.", $fieldName));
284284
}
285285

286286
/**

tests/Tests/ORM/Functional/Ticket/GH10387Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function classHierachies(): Generator
3636
{
3737
yield 'hierarchy with Entity classes only' => [[GH10387EntitiesOnlyRoot::class, GH10387EntitiesOnlyMiddle::class, GH10387EntitiesOnlyLeaf::class]];
3838
yield 'MappedSuperclass in the middle of the hierarchy' => [[GH10387MappedSuperclassRoot::class, GH10387MappedSuperclassMiddle::class, GH10387MappedSuperclassLeaf::class]];
39-
yield 'abstract entity the the root and in the middle of the hierarchy' => [[GH10387AbstractEntitiesRoot::class, GH10387AbstractEntitiesMiddle::class, GH10387AbstractEntitiesLeaf::class]];
39+
yield 'abstract entity at the root and in the middle of the hierarchy' => [[GH10387AbstractEntitiesRoot::class, GH10387AbstractEntitiesMiddle::class, GH10387AbstractEntitiesLeaf::class]];
4040
}
4141
}
4242

tests/Tests/ORM/Functional/Ticket/GH6394Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ protected function setUp(): void
2222
}
2323

2424
/**
25-
* Test the the version of an entity can be fetched, when the id field and
25+
* Test the version of an entity can be fetched, when the id field and
2626
* the id column are different.
2727
*
2828
* @group 6393

0 commit comments

Comments
 (0)