Skip to content

Commit 1021b8e

Browse files
committed
PHPLIB-818: Remove Watch::FULL_DOCUMENT_DEFAULT constant
1 parent 7ab6a45 commit 1021b8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

UPGRADE-2.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ UPGRADE FROM 1.x to 2.0
44
* Classes in the namespace `MongoDB\Operation\` are `final`.
55
* All methods in interfaces and classes now define a return type.
66
* The `MongoDB\ChangeStream::CURSOR_NOT_FOUND` constant is now private.
7+
* The `MongoDB\Operation\Watch::FULL_DOCUMENT_DEFAULT` constant has been
8+
removed.
79

810
GridFS
911
------

src/Operation/Watch.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
*/
5959
final class Watch implements Executable, /* @internal */ CommandSubscriber
6060
{
61-
public const FULL_DOCUMENT_DEFAULT = 'default';
6261
public const FULL_DOCUMENT_UPDATE_LOOKUP = 'updateLookup';
6362
public const FULL_DOCUMENT_WHEN_AVAILABLE = 'whenAvailable';
6463
public const FULL_DOCUMENT_REQUIRED = 'required';

0 commit comments

Comments
 (0)