Reflect PHP 8 typehint in method_exists

This type specification is also appropriate for PHP 7.

Based on patch contributed by Ian Littman <iansltx@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351409 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-11-17 12:05:27 +00:00
parent 3cbc58c1af
commit a9a9172aee

View file

@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>method_exists</methodname>
<methodparam><type>mixed</type><parameter>object</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>object</type></type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>method_name</parameter></methodparam>
</methodsynopsis>
<para>