Skip to content

Fix: Typos #1030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/BulkWriteResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(WriteResult $writeResult, array $insertedIds)
*
* @see BulkWriteResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getDeletedCount()
{
Expand All @@ -66,7 +66,7 @@ public function getDeletedCount()
*
* @see BulkWriteResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getInsertedCount()
{
Expand Down Expand Up @@ -100,7 +100,7 @@ public function getInsertedIds()
*
* @see BulkWriteResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getMatchedCount()
{
Expand All @@ -121,7 +121,7 @@ public function getMatchedCount()
*
* @see BulkWriteResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getModifiedCount()
{
Expand All @@ -139,7 +139,7 @@ public function getModifiedCount()
*
* @see BulkWriteResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getUpsertedCount()
{
Expand All @@ -162,7 +162,7 @@ public function getUpsertedCount()
*
* @see BulkWriteResult::isAcknowledged()
* @return array
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getUpsertedIds()
{
Expand Down
2 changes: 1 addition & 1 deletion src/DeleteResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(WriteResult $writeResult)
*
* @see DeleteResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getDeletedCount()
{
Expand Down
2 changes: 1 addition & 1 deletion src/InsertManyResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(WriteResult $writeResult, array $insertedIds)
*
* @see InsertManyResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getInsertedCount()
{
Expand Down
2 changes: 1 addition & 1 deletion src/InsertOneResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(WriteResult $writeResult, $insertedId)
*
* @see InsertOneResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getInsertedCount()
{
Expand Down
8 changes: 4 additions & 4 deletions src/UpdateResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(WriteResult $writeResult)
*
* @see UpdateResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getMatchedCount()
{
Expand All @@ -65,7 +65,7 @@ public function getMatchedCount()
*
* @see UpdateResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getModifiedCount()
{
Expand All @@ -83,7 +83,7 @@ public function getModifiedCount()
*
* @see UpdateResult::isAcknowledged()
* @return integer|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getUpsertedCount()
{
Expand All @@ -107,7 +107,7 @@ public function getUpsertedCount()
*
* @see UpdateResult::isAcknowledged()
* @return mixed|null
* @throws BadMethodCallException is the write result is unacknowledged
* @throws BadMethodCallException if the write result is unacknowledged
*/
public function getUpsertedId()
{
Expand Down