File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ UPGRADE FROM 1.x to 2.0
2
2
========================
3
3
4
4
* Classes in the namespace ` MongoDB\Operation\ ` are ` final ` .
5
+ * The ` MongoDB\ChangeStream::CURSOR_NOT_FOUND ` constant is now private.
5
6
6
7
GridFS
7
8
------
Original file line number Diff line number Diff line change 181
181
</RedundantConditionGivenDocblockType >
182
182
</file >
183
183
<file src =" src/ChangeStream.php" >
184
- <DeprecatedConstant >
185
- <code ><![CDATA[ self::CURSOR_NOT_FOUND]]> </code >
186
- </DeprecatedConstant >
187
184
<TooManyArguments >
188
185
<code ><![CDATA[ getId]]> </code >
189
186
</TooManyArguments >
Original file line number Diff line number Diff line change 49
49
*/
50
50
class ChangeStream implements Iterator
51
51
{
52
- /**
53
- * @deprecated 1.4
54
- * @todo make this constant private in 2.0 (see: PHPLIB-360)
55
- */
56
- public const CURSOR_NOT_FOUND = 43 ;
52
+ private const CURSOR_NOT_FOUND = 43 ;
57
53
58
54
private const RESUMABLE_ERROR_CODES = [
59
55
6 , // HostUnreachable
You can’t perform that action at this time.
0 commit comments