Skip to content

Commit 8d91d6e

Browse files
committed
PHPLIB-818: Remove Watch::FULL_DOCUMENT_DEFAULT constant
1 parent 7dfc043 commit 8d91d6e

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
@@ -3,6 +3,8 @@ UPGRADE FROM 1.x to 2.0
33

44
* Classes in the namespace `MongoDB\Operation\` are `final`.
55
* The `MongoDB\ChangeStream::CURSOR_NOT_FOUND` constant is now private.
6+
* The `MongoDB\Operation\Watch::FULL_DOCUMENT_DEFAULT` constant has been
7+
removed.
68

79
GridFS
810
------

src/Operation/Watch.php

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

0 commit comments

Comments
 (0)