1
0
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:
Markus Staab
2024-07-07 16:49:35 +02:00
committed by GitHub
parent 349e3c6502
commit d53be0b46d

View File

@@ -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