Skip to content

Commit c4708a0

Browse files
committed
Fix typo in Query constructor exception
1 parent 45de038 commit c4708a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/Query.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static bool php_phongo_query_opts_append_document(bson_t *opts, const char *opts
8989
}
9090

9191
if (!BSON_APPEND_DOCUMENT(opts, opts_key, &b)) {
92-
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Error appending \"%s\" options", opts_key);
92+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Error appending \"%s\" option", opts_key);
9393
bson_destroy(&b);
9494
return false;
9595
}

0 commit comments

Comments
 (0)