mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
WeakMap::offsetGet() does not return null (#3463)
* WeakMap::offsetGet() does not return null * adds error section
This commit is contained in:
@@ -34,11 +34,16 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the value associated to the object passed as argument, &null;
|
||||
otherwise.
|
||||
Returns the value associated to the object passed as argument.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors"><!-- {{{ -->
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Throws an <classname>Error</classname> on failure.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
Reference in New Issue
Block a user