Fix bug #74405 (Undocumented 4th parameter of DateTime::setTime)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342846 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andrea Faulds 2017-08-12 00:56:39 +00:00
parent 7b3702d15c
commit 932a77838b
2 changed files with 11 additions and 0 deletions

View file

@ -16,6 +16,7 @@
<methodparam><type>int</type><parameter>hour</parameter></methodparam>
<methodparam><type>int</type><parameter>minute</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>second</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>microseconds</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
@ -24,6 +25,7 @@
<methodparam><type>int</type><parameter>hour</parameter></methodparam>
<methodparam><type>int</type><parameter>minute</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>second</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>microseconds</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Resets the current time of the DateTime object to a different time.
@ -58,6 +60,14 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>microseconds</parameter></term>
<listitem>
<para>
Microsecond of the time.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

View file

@ -14,6 +14,7 @@
<methodparam><type>int</type><parameter>hour</parameter></methodparam>
<methodparam><type>int</type><parameter>minute</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>second</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>microseconds</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Like <methodname>DateTime::setTime</methodname> but works with