diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-10 13:49:41 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-10 17:39:54 +0200 |
| commit | 45c19bde2292633758f7027501b157dc4fa5d017 (patch) | |
| tree | a7fe6a5594fdba3ca359c19e5b7729b3174f526c | |
| parent | 378bb63f668b746a1ca92db656e63e7bd91c1ec2 (diff) | |
| download | php-git-45c19bde2292633758f7027501b157dc4fa5d017.tar.gz | |
Change imap_mail_compose() $body param to $bodies
This parameter actually expects an array of bodies, so we should name
it accordingly.
Closes GH-6313.
| -rw-r--r-- | ext/imap/php_imap.stub.php | 2 | ||||
| -rw-r--r-- | ext/imap/php_imap_arginfo.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/imap/php_imap.stub.php b/ext/imap/php_imap.stub.php index 5505a60f6b..62ac96d59f 100644 --- a/ext/imap/php_imap.stub.php +++ b/ext/imap/php_imap.stub.php @@ -112,7 +112,7 @@ function imap_mail_copy($imap, string $message_nums, string $mailbox, int $flags /** @param resource $imap */ function imap_mail_move($imap, string $message_nums, string $mailbox, int $flags = 0): bool {} -function imap_mail_compose(array $envelope, array $body): string|false {} +function imap_mail_compose(array $envelope, array $bodies): string|false {} /** @param resource $imap */ function imap_createmailbox($imap, string $mailbox): bool {} diff --git a/ext/imap/php_imap_arginfo.h b/ext/imap/php_imap_arginfo.h index 22bf62ffb2..409b11894c 100644 --- a/ext/imap/php_imap_arginfo.h +++ b/ext/imap/php_imap_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 621ebf610e043ce30c981f4c78ab79358c2aaeb9 */ + * Stub hash: c230b35425ab6b707f22158f2e6176c81d4137e9 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_imap_open, 0, 0, 3) ZEND_ARG_TYPE_INFO(0, mailbox, IS_STRING, 0) @@ -137,7 +137,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imap_mail_compose, 0, 2, MAY_BE_STRING|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, envelope, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(0, body, IS_ARRAY, 0) + ZEND_ARG_TYPE_INFO(0, bodies, IS_ARRAY, 0) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imap_createmailbox, 0, 2, _IS_BOOL, 0) |
