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
This commit is contained in:
Jeremy Mikola 2017-01-19 23:28:19 +00:00
parent 9fc4f0ed7a
commit 548553c4df

View file

@ -33,7 +33,7 @@
<term><parameter>type</parameter> (<type>integer</type>)</term>
<listitem>
<para>
Binary type.
Unsigned 8-bit integer denoting the data&apos;s type.
</para>
</listitem>
</varlistentry>
@ -44,9 +44,37 @@
&reftitle.errors;
<simplelist>
&mongodb.throws.argumentparsing;
<member>Throws <classname>MongoDB\Driver\Exception\InvalidArgumentException</classname> if <parameter>type</parameter> is not an unsigned 8-bit integer.</member>
</simplelist>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>1.1.3</entry>
<entry>
<para>
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
is thrown if <parameter>type</parameter> is not an unsigned 8-bit
integer.
</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;