[doc-en] master: MongoDB: Fix docs errors for 2.0 version (#4662)

From: Date: Fri, 09 May 2025 09:14:02 +0000
Subject: [doc-en] master: MongoDB: Fix docs errors for 2.0 version (#4662)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22668@lists.php.net to get a copy of this message
Author: Andreas Braun (alcaeus) Committer: GitHub (web-flow) Pusher: alcaeus Date: 2025-05-09T11:03:15+02:00 Commit: https://github.com/php/doc-en/commit/e3c3525f7f288bc3a455a9619215fa759c2a9f5f Raw diff: https://github.com/php/doc-en/commit/e3c3525f7f288bc3a455a9619215fa759c2a9f5f.diff MongoDB: Fix docs errors for 2.0 version (#4662) * Add missing methods to BulkWriteException docs * Add missing changelog to BSON interfaces Changed paths: M reference/mongodb/bson/persistable/bsonserialize.xml M reference/mongodb/bson/serializable/bsonserialize.xml M reference/mongodb/bson/unserializable/bsonunserialize.xml M reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml Diff: diff --git a/reference/mongodb/bson/persistable/bsonserialize.xml b/reference/mongodb/bson/persistable/bsonserialize.xml index a3e32a64736c..590c199b9b61 100644 --- a/reference/mongodb/bson/persistable/bsonserialize.xml +++ b/reference/mongodb/bson/persistable/bsonserialize.xml @@ -59,6 +59,7 @@ </row> </thead> <tbody> + &mongodb.changelog.tentative-return-types-enforced; <row> <entry>PECL mongodb 1.17.0</entry> <entry> diff --git a/reference/mongodb/bson/serializable/bsonserialize.xml b/reference/mongodb/bson/serializable/bsonserialize.xml index 14b1786da564..373b98ed6494 100644 --- a/reference/mongodb/bson/serializable/bsonserialize.xml +++ b/reference/mongodb/bson/serializable/bsonserialize.xml @@ -63,6 +63,7 @@ </row> </thead> <tbody> + &mongodb.changelog.tentative-return-types-enforced; <row> <entry>PECL mongodb 1.17.0</entry> <entry> diff --git a/reference/mongodb/bson/unserializable/bsonunserialize.xml b/reference/mongodb/bson/unserializable/bsonunserialize.xml index 1eea11430ae5..329ca162892e 100644 --- a/reference/mongodb/bson/unserializable/bsonunserialize.xml +++ b/reference/mongodb/bson/unserializable/bsonunserialize.xml @@ -52,6 +52,24 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + &mongodb.changelog.tentative-return-types-enforced; + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> <refsect1 role="examples"> &reftitle.examples; diff --git a/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml b/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml index 5a790a688293..304f5d92fdf2 100644 --- a/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml +++ b/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml @@ -53,6 +53,9 @@ <!-- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('runtimeexception.synopsis')/descendant::db:fieldsynopsis)" /> --> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" /> + <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-bulkwriteexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" /> + <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> <!-- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-serverexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />--> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-runtimeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" /> @@ -111,6 +114,8 @@ </section> </partintro> + &reference.mongodb.mongodb.driver.exception.entities.bulkwriteexception; + </reference> <!-- Keep this comment at the end of the file

« previous php.doc.cvs (#22668) next »