-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
For classes that decorate MongoDB\Driver\WriteResult, the methods use a ?int return type, as the methods would return null when checking results for an unacknowledged write. After PHPC-2144, this can be changed to int, as the methods throw when the write was unacknowledged.
- depends on
-
PHPLIB-954 Add return types to all methods
- Closed
-
PHPC-2144 WriteResult getters should throw exception if unacknowledged
- Closed