ReflectionMethod accepts string|object, not mixed

Based on a patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351060 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-10-29 17:14:02 +00:00
parent e4f3cc7f4c
commit 72502df5f5

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname>
<methodparam><type>mixed</type><parameter>class</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>object</type></type><parameter>class</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>