com doc/ja: Restore overloaded signature of reflectionmethod: :__construct(): reference/reflection/reflectionme thod/construct.xml

[email protected] (Yoshinari Takaoka) Sun, 03 Jan 2021 01:59:37 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
Commit:    f384e4041b94c574dc555edddf7239e1a44576b8
Author:    Yoshinari Takaoka <[email protected]>         Sun, 3 Jan 2021 10:59:37 +0900
Parents:   cd600d61f2aafaf142119267513d9bdafa4850ca
Branches:  master

Link:       http://git.php.net/?p=doc/ja.git;a=commitdiff;h=f384e4041b94c574dc555edddf7239e1a44576b8

Log:
Restore overloaded signature of reflectionmethod::__construct()

Still not great, but that constructor is a mess.

Changed paths:
  M  reference/reflection/reflectionmethod/construct.xml


Diff:
diff --git a/reference/reflection/reflectionmethod/construct.xml b/reference/reflection/reflectionmethod/construct.xml
index e0e5a415bc..985835cf80 100644
--- a/reference/reflection/reflectionmethod/construct.xml
+++ b/reference/reflection/reflectionmethod/construct.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: fcb74e8f48e50e21637d163672c9f1cd297191ed Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 8217228b33b68819e6670c27e223edac282bfd2b Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 
 <refentry xml:id="reflectionmethod.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,7 +14,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>
    新しい <classname>ReflectionMethod</classname> を作成します。
@@ -43,7 +48,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>objectOrMethod</parameter></term>
+     <term><parameter>classMethod</parameter></term>
      <listitem>
       <para>
        クラス名とメソッド名を <literal>::</literal> で区切ったもの。