Skip to content

Commit 4257002

Browse files
committed
Refer to findAndModify docs in related Collection methods
1 parent aa124d0 commit 4257002

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Collection.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ public function findOne(array $filter = array(), array $options = array())
422422
* The document to return may be null.
423423
*
424424
* @see FindOneAndDelete::__construct() for supported options
425+
* @see http://docs.mongodb.org/manual/reference/command/findAndModify/
425426
* @param array|object $filter Query by which to filter documents
426427
* @param array $options Command options
427428
* @return object|null
@@ -443,6 +444,7 @@ public function findOneAndDelete($filter, array $options = array())
443444
* "returnDocument" option to return the updated document.
444445
*
445446
* @see FindOneAndReplace::__construct() for supported options
447+
* @see http://docs.mongodb.org/manual/reference/command/findAndModify/
446448
* @param array|object $filter Query by which to filter documents
447449
* @param array|object $replacement Replacement document
448450
* @param array $options Command options
@@ -465,6 +467,7 @@ public function findOneAndReplace($filter, $replacement, array $options = array(
465467
* "returnDocument" option to return the updated document.
466468
*
467469
* @see FindOneAndReplace::__construct() for supported options
470+
* @see http://docs.mongodb.org/manual/reference/command/findAndModify/
468471
* @param array|object $filter Query by which to filter documents
469472
* @param array|object $update Update to apply to the matched document
470473
* @param array $options Command options

0 commit comments

Comments
 (0)