Skip to content

Commit 8f9a849

Browse files
GromNaNgreg0ire
andcommitted
Update UPGRADE-2.16.md
Co-authored-by: Grégoire Paris <[email protected]>
1 parent 5d919de commit 8f9a849

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UPGRADE-2.16.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Package `doctrine/cache`
44

5-
The package `doctrine/cache` no longer required.
5+
The package `doctrine/cache` is no longer required.
66

77
If you use `Doctrine\ODM\MongoDB\Configuration::getMetadataCacheImpl()`,
88
then you need to require `doctrine/cache` explicitly in your `composer.json`;

src/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public function getMetadataDriverImpl(): ?MappingDriver
280280
public function getMetadataCacheImpl(): ?Cache
281281
{
282282
if (! class_exists(DoctrineProvider::class)) {
283-
throw new LogicException('The "doctrine/cache" package is deprecated and no longer required by "doctrine/mongodb-odm". Use "getMetadataCache"');
283+
throw new LogicException('The "doctrine/cache" package is deprecated and no longer required by "doctrine/mongodb-odm". Use "getMetadataCache" instead.');
284284
}
285285

286286
trigger_deprecation(

0 commit comments

Comments
 (0)