Skip to content

Commit 465fad5

Browse files
author
TCB13
committed
Fix typo.
1 parent 8bfdaab commit 465fad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ public function insert($documents): InsertManyResult
474474
{
475475

476476
if (is_array($documents) && empty($documents)) {
477-
throw new Exception("Insert: Expecting at least on document to insert.");
477+
throw new Exception("Insert: Expecting at least one document to insert.");
478478
}
479479

480480
// Single Mongo Seriazable object

0 commit comments

Comments
 (0)