Skip to content

Commit ccb20b4

Browse files
committed
Typo
1 parent 42b9b35 commit ccb20b4

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

UPGRADE-3.0.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ The following methods have been removed from `Doctrine\ODM\MongoDB\Configuration
5959
- `setProxyDir` and `getProxyDir`,
6060
- `setProxyNamespace` and `getProxyNamespace`,
6161
- `setAutoGenerateProxyClasses` and `getAutoGenerateProxyClasses`,
62-
- `getProxyManagerConfiguration`
63-
- `getProxyFactory`
64-
- `buildGhostObjectFactory`
62+
- `getProxyManagerConfiguration`,
63+
- `buildGhostObjectFactory`.
6564

6665
The `Doctrine\ODM\MongoDB\Proxy\Resolver\ClassNameResolver` interface has been
6766
dropped in favor of the `Doctrine\Persistence\Mapping\ProxyClassNameResolver`

docs/en/cookbook/blending-orm-and-mongodb-odm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ The above would output the following:
200200
(
201201
[id:Entities\Order:private] => 53
202202
[productId:Entities\Order:private] => 4c74a1868ead0ed7a9000000
203-
[product:Entities\Order:private] => Entities\Order Object
203+
[product:Entities\Order:private] => Entities\Product Object
204204
(
205205
[id:Documents\Product:private] => 4c74a1868ead0ed7a9000000
206206
[title:Documents\Product:private] => Test Product

src/Configuration.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,6 @@ class Configuration
8080
*/
8181
public const int AUTOGENERATE_EVAL = 3;
8282

83-
/**
84-
* Autogenerate the class when the file does not exist or
85-
* when the proxied file changed.
86-
*
87-
* This strategy causes a file_exists() call whenever any class is used the
88-
* first time in a request. When the proxied file is changed, the class will
89-
* be updated.
90-
*/
91-
public const int AUTOGENERATE_FILE_NOT_EXISTS_OR_CHANGED = 4;
92-
9383
/**
9484
* Array of attributes for this configuration instance.
9585
*

src/UnitOfWork.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ public function computeChangeSets(): void
935935
}
936936

937937
foreach ($documentsToProcess as $document) {
938-
// Ignore uninitialized lazy object
938+
// Ignore uninitialized lazy objects
939939
if ($this->isUninitializedObject($document)) {
940940
continue;
941941
}

0 commit comments

Comments
 (0)