File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -198,11 +198,11 @@ private function createQuery()
198
198
$ options ['partial ' ] = true ;
199
199
}
200
200
201
- if (isset ($ options ['cursorType ' ])) {
202
- if ($ options ['cursorType ' ] === self ::TAILABLE ) {
201
+ if (isset ($ this -> options ['cursorType ' ])) {
202
+ if ($ this -> options ['cursorType ' ] === self ::TAILABLE ) {
203
203
$ options ['tailable ' ] = true ;
204
204
}
205
- if ($ options ['cursorType ' ] === self ::TAILABLE_AWAIT ) {
205
+ if ($ this -> options ['cursorType ' ] === self ::TAILABLE_AWAIT ) {
206
206
$ options ['tailable ' ] = true ;
207
207
$ options ['awaitData ' ] = true ;
208
208
}
@@ -216,11 +216,11 @@ private function createQuery()
216
216
217
217
$ modifiers = empty ($ this ->options ['modifiers ' ]) ? [] : (array ) $ this ->options ['modifiers ' ];
218
218
219
- if (isset ($ options ['comment ' ])) {
219
+ if (isset ($ this -> options ['comment ' ])) {
220
220
$ modifiers ['$comment ' ] = $ options ['comment ' ];
221
221
}
222
222
223
- if (isset ($ options ['maxTimeMS ' ])) {
223
+ if (isset ($ this -> options ['maxTimeMS ' ])) {
224
224
$ modifiers ['$maxTimeMS ' ] = $ options ['maxTimeMS ' ];
225
225
}
226
226
You can’t perform that action at this time.
0 commit comments