svn: /phpdoc/ja/trunk/reference/math/functions/ max.xml min.xml

[email protected] (Yoshinari Takaoka) Sun, 27 Dec 2020 18:16:32 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Sun, 27 Dec 2020 18:16:32 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352212

Log:
Update methodsynopses of min() and max()

Changed paths:
    U   phpdoc/ja/trunk/reference/math/functions/max.xml
    U   phpdoc/ja/trunk/reference/math/functions/min.xml

Modified: phpdoc/ja/trunk/reference/math/functions/max.xml
===================================================================
--- phpdoc/ja/trunk/reference/math/functions/max.xml	2020-12-27 18:09:26 UTC (rev 352211)
+++ phpdoc/ja/trunk/reference/math/functions/max.xml	2020-12-27 18:16:32 UTC (rev 352212)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 352211 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: takagi,mumumu -->
 <refentry xml:id="function.max" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>max</refname>
@@ -11,10 +11,6 @@
   &reftitle.description;
   <methodsynopsis>
    <type>mixed</type><methodname>max</methodname>
-   <methodparam><type>array</type><parameter>value_array</parameter></methodparam>
-  </methodsynopsis>
-  <methodsynopsis>
-   <type>mixed</type><methodname>max</methodname>
    <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
    <methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
   </methodsynopsis>
@@ -46,19 +42,11 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>value_array</parameter></term>
-     <listitem>
-      <para>
-       値を含む配列。
-      </para>
-     </listitem>
-    </varlistentry>
-    <varlistentry>
      <term><parameter>value</parameter></term>
      <listitem>
       <para>
        任意の <link linkend="language.operators.comparison">比較可能な</link>
-       値。
+       値を含んだ配列。または、単一の比較可能な値。
       </para>
      </listitem>
     </varlistentry>
@@ -140,7 +128,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/math/functions/min.xml
===================================================================
--- phpdoc/ja/trunk/reference/math/functions/min.xml	2020-12-27 18:09:26 UTC (rev 352211)
+++ phpdoc/ja/trunk/reference/math/functions/min.xml	2020-12-27 18:16:32 UTC (rev 352212)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 352211 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: takagi,mumumu -->
 <refentry xml:id="function.min" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>min</refname>
@@ -10,14 +10,10 @@
  <refsect1 role="description">
   &reftitle.description;
    <methodsynopsis>
-    <type>mixed</type><methodname>min</methodname>
-    <methodparam><type>array</type><parameter>value_array</parameter></methodparam>
-   </methodsynopsis>
-   <methodsynopsis>
-    <type>mixed</type><methodname>min</methodname>
-    <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
-    <methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
-   </methodsynopsis>
+   <type>mixed</type><methodname>min</methodname>
+   <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
+   <methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
+  </methodsynopsis>
   <para>
    パラメータとして配列をひとつだけ渡した場合は、 <function>min</function>
    は配列の中で最も小さい数値を返します。
@@ -46,18 +42,11 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>value_array</parameter></term>
-     <listitem>
-      <para>
-       値を含む配列。
-      </para>
-     </listitem>
-    </varlistentry>
- <varlistentry>
      <term><parameter>value</parameter></term>
      <listitem>
       <para>
-       任意の <link linkend="language.operators.comparison">比較可能な</link>値。
+       任意の <link linkend="language.operators.comparison">比較可能な</link> 値を含む配列。
+       または、単一の比較可能な値。
       </para>
      </listitem>
     </varlistentry>
@@ -141,7 +130,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml