Fix $message_nums parameter names (#1225)

This commit is contained in:
Máté Kocsis 2021-12-21 15:33:54 +01:00 committed by GitHub
parent c80e398bcb
commit d845236a60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -10,11 +10,11 @@
<methodsynopsis>
<type>bool</type><methodname>imap_delete</methodname>
<methodparam><type>IMAP\Connection</type><parameter>imap</parameter></methodparam>
<methodparam><type>string</type><parameter>message_num</parameter></methodparam>
<methodparam><type>string</type><parameter>message_nums</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Marks messages listed in <parameter>message_num</parameter> for deletion.
Marks messages listed in <parameter>message_nums</parameter> for deletion.
Messages marked for deletion will stay in the mailbox until either
<function>imap_expunge</function> is called or
<function>imap_close</function> is called with the optional parameter
@ -27,7 +27,7 @@
<variablelist>
&imap.imap-parameter.imap;
<varlistentry>
<term><parameter>message_num</parameter></term>
<term><parameter>message_nums</parameter></term>
<listitem>
<para>
A &string; representing one or more messages in IMAP4-style sequence format
@ -41,7 +41,7 @@
<listitem>
<para>
You can set the <constant>FT_UID</constant> which tells the function
to treat the <parameter>message_num</parameter> argument as a
to treat the <parameter>message_nums</parameter> argument as a
<literal>UID</literal>.
</para>
</listitem>

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<type>bool</type><methodname>imap_undelete</methodname>
<methodparam><type>IMAP\Connection</type><parameter>imap</parameter></methodparam>
<methodparam><type>string</type><parameter>message_num</parameter></methodparam>
<methodparam><type>string</type><parameter>message_nums</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
@ -24,7 +24,7 @@
<variablelist>
&imap.imap-parameter.imap;
<varlistentry>
<term><parameter>message_num</parameter></term>
<term><parameter>message_nums</parameter></term>
<listitem>
<para>
A &string; representing one or more messages in IMAP4-style sequence format