We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bfdaab commit 465fad5Copy full SHA for 465fad5
src/QueryBuilder.php
@@ -474,7 +474,7 @@ public function insert($documents): InsertManyResult
474
{
475
476
if (is_array($documents) && empty($documents)) {
477
- throw new Exception("Insert: Expecting at least on document to insert.");
+ throw new Exception("Insert: Expecting at least one document to insert.");
478
}
479
480
// Single Mongo Seriazable object
0 commit comments