Skip to content

Commit 2f3a455

Browse files
committed
Clean up some doc block typos
1 parent 2c689a2 commit 2f3a455

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

src/Collection.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,9 @@ public function replaceOne($filter, $replacement, array $options = [])
647647
*
648648
* @see UpdateMany::__construct() for supported options
649649
* @see http://docs.mongodb.org/manual/reference/command/update/
650-
* @param array|object $filter Query by which to filter documents
651-
* @param array|object $replacement Update to apply to the matched documents
652-
* @param array $options Command options
650+
* @param array|object $filter Query by which to filter documents
651+
* @param array|object $update Update to apply to the matched documents
652+
* @param array $options Command options
653653
* @return UpdateResult
654654
*/
655655
public function updateMany($filter, $update, array $options = [])
@@ -669,9 +669,9 @@ public function updateMany($filter, $update, array $options = [])
669669
*
670670
* @see ReplaceOne::__construct() for supported options
671671
* @see http://docs.mongodb.org/manual/reference/command/update/
672-
* @param array|object $filter Query by which to filter documents
673-
* @param array|object $replacement Update to apply to the matched document
674-
* @param array $options Command options
672+
* @param array|object $filter Query by which to filter documents
673+
* @param array|object $update Update to apply to the matched document
674+
* @param array $options Command options
675675
* @return UpdateResult
676676
*/
677677
public function updateOne($filter, $update, array $options = [])

src/Operation/CreateIndexes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ private function executeCommand(Server $server)
108108
* "system.indexes" collection (MongoDB <2.6).
109109
*
110110
* @param Server $server
111-
* @param IndexInput[] $indexes
112111
*/
113112
private function executeLegacy(Server $server)
114113
{

src/Operation/DropDatabase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class DropDatabase implements Executable
2020
/**
2121
* Constructs a dropDatabase command.
2222
*
23-
* @param string $databaseName Database name
24-
* @param string $collectionName Collection name
23+
* @param string $databaseName Database name
2524
*/
2625
public function __construct($databaseName)
2726
{

0 commit comments

Comments
 (0)