File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function toJSON(object $document): string
20
20
$ changeStream = $ collection ->watch ();
21
21
22
22
for ($ changeStream ->rewind (); true ; $ changeStream ->next ()) {
23
- if ( ! $ changeStream ->valid ()) {
23
+ if (! $ changeStream ->valid ()) {
24
24
continue ;
25
25
}
26
26
$ event = $ changeStream ->current ();
@@ -46,7 +46,7 @@ function toJSON(object $document): string
46
46
$ changeStream = $ collection ->watch ($ pipeline );
47
47
48
48
for ($ changeStream ->rewind (); true ; $ changeStream ->next ()) {
49
- if ( ! $ changeStream ->valid ()) {
49
+ if (! $ changeStream ->valid ()) {
50
50
continue ;
51
51
}
52
52
$ event = $ changeStream ->current ();
@@ -64,7 +64,7 @@ function toJSON(object $document): string
64
64
$ changeStream = $ collection ->watch ([], $ options );
65
65
66
66
for ($ changeStream ->rewind (); true ; $ changeStream ->next ()) {
67
- if ( ! $ changeStream ->valid ()) {
67
+ if (! $ changeStream ->valid ()) {
68
68
continue ;
69
69
}
70
70
$ event = $ changeStream ->current ();
Original file line number Diff line number Diff line change 53
53
$ changeStream = $ collection ->watch ();
54
54
55
55
for ($ changeStream ->rewind (); true ; $ changeStream ->next ()) {
56
- if ( ! $ changeStream ->valid ()) {
56
+ if (! $ changeStream ->valid ()) {
57
57
continue ;
58
58
}
59
59
$ event = $ changeStream ->current ();
You can’t perform that action at this time.
0 commit comments