Skip to content

Commit 6d00c48

Browse files
authored
Fix typos in method documentation (#1030)
1 parent fe3b308 commit 6d00c48

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/BulkWriteResult.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(WriteResult $writeResult, array $insertedIds)
4848
*
4949
* @see BulkWriteResult::isAcknowledged()
5050
* @return integer|null
51-
* @throws BadMethodCallException is the write result is unacknowledged
51+
* @throws BadMethodCallException if the write result is unacknowledged
5252
*/
5353
public function getDeletedCount()
5454
{
@@ -66,7 +66,7 @@ public function getDeletedCount()
6666
*
6767
* @see BulkWriteResult::isAcknowledged()
6868
* @return integer|null
69-
* @throws BadMethodCallException is the write result is unacknowledged
69+
* @throws BadMethodCallException if the write result is unacknowledged
7070
*/
7171
public function getInsertedCount()
7272
{
@@ -100,7 +100,7 @@ public function getInsertedIds()
100100
*
101101
* @see BulkWriteResult::isAcknowledged()
102102
* @return integer|null
103-
* @throws BadMethodCallException is the write result is unacknowledged
103+
* @throws BadMethodCallException if the write result is unacknowledged
104104
*/
105105
public function getMatchedCount()
106106
{
@@ -121,7 +121,7 @@ public function getMatchedCount()
121121
*
122122
* @see BulkWriteResult::isAcknowledged()
123123
* @return integer|null
124-
* @throws BadMethodCallException is the write result is unacknowledged
124+
* @throws BadMethodCallException if the write result is unacknowledged
125125
*/
126126
public function getModifiedCount()
127127
{
@@ -139,7 +139,7 @@ public function getModifiedCount()
139139
*
140140
* @see BulkWriteResult::isAcknowledged()
141141
* @return integer|null
142-
* @throws BadMethodCallException is the write result is unacknowledged
142+
* @throws BadMethodCallException if the write result is unacknowledged
143143
*/
144144
public function getUpsertedCount()
145145
{
@@ -162,7 +162,7 @@ public function getUpsertedCount()
162162
*
163163
* @see BulkWriteResult::isAcknowledged()
164164
* @return array
165-
* @throws BadMethodCallException is the write result is unacknowledged
165+
* @throws BadMethodCallException if the write result is unacknowledged
166166
*/
167167
public function getUpsertedIds()
168168
{

src/DeleteResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(WriteResult $writeResult)
4444
*
4545
* @see DeleteResult::isAcknowledged()
4646
* @return integer|null
47-
* @throws BadMethodCallException is the write result is unacknowledged
47+
* @throws BadMethodCallException if the write result is unacknowledged
4848
*/
4949
public function getDeletedCount()
5050
{

src/InsertManyResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(WriteResult $writeResult, array $insertedIds)
4848
*
4949
* @see InsertManyResult::isAcknowledged()
5050
* @return integer|null
51-
* @throws BadMethodCallException is the write result is unacknowledged
51+
* @throws BadMethodCallException if the write result is unacknowledged
5252
*/
5353
public function getInsertedCount()
5454
{

src/InsertOneResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(WriteResult $writeResult, $insertedId)
5151
*
5252
* @see InsertOneResult::isAcknowledged()
5353
* @return integer|null
54-
* @throws BadMethodCallException is the write result is unacknowledged
54+
* @throws BadMethodCallException if the write result is unacknowledged
5555
*/
5656
public function getInsertedCount()
5757
{

src/UpdateResult.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(WriteResult $writeResult)
4444
*
4545
* @see UpdateResult::isAcknowledged()
4646
* @return integer|null
47-
* @throws BadMethodCallException is the write result is unacknowledged
47+
* @throws BadMethodCallException if the write result is unacknowledged
4848
*/
4949
public function getMatchedCount()
5050
{
@@ -65,7 +65,7 @@ public function getMatchedCount()
6565
*
6666
* @see UpdateResult::isAcknowledged()
6767
* @return integer|null
68-
* @throws BadMethodCallException is the write result is unacknowledged
68+
* @throws BadMethodCallException if the write result is unacknowledged
6969
*/
7070
public function getModifiedCount()
7171
{
@@ -83,7 +83,7 @@ public function getModifiedCount()
8383
*
8484
* @see UpdateResult::isAcknowledged()
8585
* @return integer|null
86-
* @throws BadMethodCallException is the write result is unacknowledged
86+
* @throws BadMethodCallException if the write result is unacknowledged
8787
*/
8888
public function getUpsertedCount()
8989
{
@@ -107,7 +107,7 @@ public function getUpsertedCount()
107107
*
108108
* @see UpdateResult::isAcknowledged()
109109
* @return mixed|null
110-
* @throws BadMethodCallException is the write result is unacknowledged
110+
* @throws BadMethodCallException if the write result is unacknowledged
111111
*/
112112
public function getUpsertedId()
113113
{

0 commit comments

Comments
 (0)