@@ -192,7 +192,7 @@ public function getQuery()
192
192
* @see http://php.net/manual/en/mongocursor.addoption.php
193
193
* @param string $key
194
194
* @param mixed $value
195
- * @return self
195
+ * @return $this
196
196
*/
197
197
public function addOption ($ key , $ value )
198
198
{
@@ -206,7 +206,7 @@ public function addOption($key, $value)
206
206
* @see CursorInterface::batchSize()
207
207
* @see http://php.net/manual/en/mongocursor.batchsize.php
208
208
* @param integer $num
209
- * @return self
209
+ * @return $this
210
210
*/
211
211
public function batchSize ($ num )
212
212
{
@@ -276,7 +276,7 @@ public function explain()
276
276
*
277
277
* @see CursorInterface::fields()
278
278
* @see http://php.net/manual/en/mongocursor.fields.php
279
- * @return self
279
+ * @return $this
280
280
*/
281
281
public function fields (array $ f )
282
282
{
@@ -319,7 +319,7 @@ public function getReadPreference()
319
319
* @see http://php.net/manual/en/mongocursor.setreadpreference.php
320
320
* @param string $readPreference
321
321
* @param array $tags
322
- * @return self
322
+ * @return $this
323
323
*/
324
324
public function setReadPreference ($ readPreference , array $ tags = null )
325
325
{
@@ -381,7 +381,7 @@ public function hasNext()
381
381
* @see CursorInterface::hint()
382
382
* @see http://php.net/manual/en/mongocursor.hint.php
383
383
* @param array|string $keyPattern
384
- * @return self
384
+ * @return $this
385
385
*/
386
386
public function hint ($ keyPattern )
387
387
{
@@ -393,7 +393,7 @@ public function hint($keyPattern)
393
393
* Set whether to hydrate results as document class instances.
394
394
*
395
395
* @param boolean $hydrate
396
- * @return self
396
+ * @return $this
397
397
*/
398
398
public function hydrate ($ hydrate = true )
399
399
{
@@ -420,7 +420,7 @@ private function hydrateDocument($document)
420
420
* @see CursorInterface::immortal()
421
421
* @see http://php.net/manual/en/mongocursor.immortal.php
422
422
* @param boolean $liveForever
423
- * @return self
423
+ * @return $this
424
424
*/
425
425
public function immortal ($ liveForever = true )
426
426
{
@@ -459,7 +459,7 @@ public function key()
459
459
* @see CursorInterface::limit()
460
460
* @see http://php.net/manual/en/mongocursor.limit.php
461
461
* @param integer $num
462
- * @return self
462
+ * @return $this
463
463
*/
464
464
public function limit ($ num )
465
465
{
@@ -496,7 +496,7 @@ public function recreate()
496
496
* This option has no effect if hydration is disabled.
497
497
*
498
498
* @param boolean $refresh
499
- * @return self
499
+ * @return $this
500
500
*/
501
501
public function refresh ($ refresh = true )
502
502
{
@@ -534,7 +534,7 @@ public function rewind()
534
534
* @see CursorInterface::skip()
535
535
* @see http://php.net/manual/en/mongocursor.skip.php
536
536
* @param integer $num
537
- * @return self
537
+ * @return $this
538
538
*/
539
539
public function skip ($ num )
540
540
{
@@ -548,7 +548,7 @@ public function skip($num)
548
548
* @see CursorInterface::slaveOkay()
549
549
* @see http://php.net/manual/en/mongocursor.slaveokay.php
550
550
* @param boolean $ok
551
- * @return self
551
+ * @return $this
552
552
*/
553
553
public function slaveOkay ($ ok = true )
554
554
{
@@ -563,7 +563,7 @@ public function slaveOkay($ok = true)
563
563
*
564
564
* @see CursorInterface::snapshot()
565
565
* @see http://php.net/manual/en/mongocursor.snapshot.php
566
- * @return self
566
+ * @return $this
567
567
*/
568
568
public function snapshot ()
569
569
{
@@ -579,7 +579,7 @@ public function snapshot()
579
579
* @see CursorInterface::sort()
580
580
* @see http://php.net/manual/en/mongocursor.sort.php
581
581
* @param array $fields
582
- * @return self
582
+ * @return $this
583
583
*/
584
584
public function sort ($ fields )
585
585
{
@@ -597,7 +597,7 @@ public function sort($fields)
597
597
* @see CursorInterface::tailable()
598
598
* @see http://php.net/manual/en/mongocursor.tailable.php
599
599
* @param boolean $tail
600
- * @return self
600
+ * @return $this
601
601
*/
602
602
public function tailable ($ tail = true )
603
603
{
@@ -611,7 +611,7 @@ public function tailable($tail = true)
611
611
* @see CursorInterface::timeout()
612
612
* @see http://php.net/manual/en/mongocursor.timeout.php
613
613
* @param integer $ms
614
- * @return self
614
+ * @return $this
615
615
*/
616
616
public function timeout ($ ms )
617
617
{
@@ -664,7 +664,7 @@ public function valid()
664
664
/**
665
665
* @param array $primers
666
666
* @param ReferencePrimer $referencePrimer
667
- * @return self
667
+ * @return $this
668
668
*/
669
669
public function enableReferencePriming (array $ primers , ReferencePrimer $ referencePrimer )
670
670
{
0 commit comments