@@ -5607,8 +5607,8 @@ public function createDocument(string $collection, Document $document): Document
56075607 $ this ->adapter ->getMinDateTime (),
56085608 $ this ->adapter ->getMaxDateTime (),
56095609 $ this ->adapter ->getSupportForAttributes (),
5610- $ this ->adapter ->getSupportForUnsignedBigInt (),
5611- null
5610+ supportUnsignedBigInt: $ this ->adapter ->getSupportForUnsignedBigInt (),
5611+ currentDocument: null
56125612 );
56135613 if (!$ structure ->isValid ($ document )) {
56145614 throw new StructureException ($ structure ->getDescription ());
@@ -5717,8 +5717,8 @@ public function createDocuments(
57175717 $ this ->adapter ->getMinDateTime (),
57185718 $ this ->adapter ->getMaxDateTime (),
57195719 $ this ->adapter ->getSupportForAttributes (),
5720- $ this ->adapter ->getSupportForUnsignedBigInt (),
5721- null
5720+ supportUnsignedBigInt: $ this ->adapter ->getSupportForUnsignedBigInt (),
5721+ currentDocument: null
57225722 );
57235723 if (!$ validator ->isValid ($ document )) {
57245724 throw new StructureException ($ validator ->getDescription ());
@@ -6290,8 +6290,8 @@ public function updateDocument(string $collection, string $id, Document $documen
62906290 $ this ->adapter ->getMinDateTime (),
62916291 $ this ->adapter ->getMaxDateTime (),
62926292 $ this ->adapter ->getSupportForAttributes (),
6293- $ this ->adapter ->getSupportForUnsignedBigInt (),
6294- $ old
6293+ supportUnsignedBigInt: $ this ->adapter ->getSupportForUnsignedBigInt (),
6294+ currentDocument: $ old
62956295 );
62966296 if (!$ structureValidator ->isValid ($ document )) { // Make sure updated structure still apply collection rules (if any)
62976297 throw new StructureException ($ structureValidator ->getDescription ());
@@ -7305,8 +7305,8 @@ public function upsertDocumentsWithIncrease(
73057305 $ this ->adapter ->getMinDateTime (),
73067306 $ this ->adapter ->getMaxDateTime (),
73077307 $ this ->adapter ->getSupportForAttributes (),
7308- $ this ->adapter ->getSupportForUnsignedBigInt (),
7309- $ old ->isEmpty () ? null : $ old
7308+ supportUnsignedBigInt: $ this ->adapter ->getSupportForUnsignedBigInt (),
7309+ currentDocument: $ old ->isEmpty () ? null : $ old
73107310 );
73117311
73127312 if (!$ validator ->isValid ($ document )) {
0 commit comments