Restore overloaded signature of reflectionmethod::__construct()

Still not great, but that constructor is a mess.
This commit is contained in:
Christoph M. Becker 2021-01-03 00:32:27 +01:00
parent 2424a1accc
commit 8217228b33

View file

@ -11,7 +11,12 @@
<constructorsynopsis>
<modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname>
<methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrMethod</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>method</parameter><initializer>&null;</initializer></methodparam>
<methodparam><type>string</type><parameter>method</parameter></methodparam>
</constructorsynopsis>
<simpara>Alternative signature (not supported with named arguments):</simpara>
<constructorsynopsis>
<modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname>
<methodparam><type>string</type><parameter>classMethod</parameter></methodparam>
</constructorsynopsis>
<para>
Constructs a new <classname>ReflectionMethod</classname>.
@ -40,7 +45,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>objectOrMethod</parameter></term>
<term><parameter>classMethod</parameter></term>
<listitem>
<para>
Class name and method name delimited by <literal>::</literal>.