From 548553c4dfbc7b890781d292b19bf742b4427630 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Thu, 19 Jan 2017 23:28:19 +0000 Subject: [PATCH] MongoDB\BSON\Binary $type is an unsigned 8-bit integer https://jira.mongodb.org/browse/PHPC-593 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341736 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongodb/bson/binary/construct.xml | 30 ++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/reference/mongodb/bson/binary/construct.xml b/reference/mongodb/bson/binary/construct.xml index 97a3c30f53..d94ed67b5c 100644 --- a/reference/mongodb/bson/binary/construct.xml +++ b/reference/mongodb/bson/binary/construct.xml @@ -33,7 +33,7 @@ type (integer) - Binary type. + Unsigned 8-bit integer denoting the data's type. @@ -44,9 +44,37 @@ &reftitle.errors; &mongodb.throws.argumentparsing; + Throws MongoDB\Driver\Exception\InvalidArgumentException if type is not an unsigned 8-bit integer. + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 1.1.3 + + + MongoDB\Driver\Exception\InvalidArgumentException + is thrown if type is not an unsigned 8-bit + integer. + + + + + + + + &reftitle.examples;