We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ee635 commit 4aebdeeCopy full SHA for 4aebdee
UPGRADE-2.0.md
@@ -6,3 +6,9 @@ UPGRADE FROM 1.x to 2.0
6
and `getPort()` methods have been added in its place.
7
* The BSON functions in the `MongoDB\BSON` namespace have been removed in favor
8
of the `MongoDB\BSON\Document` class.
9
+ * All tentative return types defined in interface and non-final classes are now
10
+ fixed and are required in implementing or extending classes.
11
+ * `MongoDB\Driver\CursorInterface` now extends `Iterator`, requiring
12
+ implementing classes to also implement iterator methods. The return types for
13
+ the `key` and `current` methods have been narrowed to the types returned by
14
+ cursor instances.
0 commit comments