Skip to content

Commit eed9d8a

Browse files
committed
Review
1 parent a31b72c commit eed9d8a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

ext/imap/php_imap.stub.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ function imap_headers($imap): array|false {}
2929
/** @param resource $imap */
3030
function imap_headerinfo($imap, int $message_num, int $from_length = 0, int $subject_length = 0): stdClass|false {}
3131

32-
function imap_rfc822_parse_headers(string $headers, string $default_host = "UNKNOWN"): stdClass {}
32+
function imap_rfc822_parse_headers(string $headers, string $default_hostname = "UNKNOWN"): stdClass {}
3333

34-
function imap_rfc822_write_address(string $mailbox, string $host, string $personal): string|false {}
34+
function imap_rfc822_write_address(string $mailbox, string $hostname, string $personal): string|false {}
3535

36-
function imap_rfc822_parse_adrlist(string $string, string $default_host): array {}
36+
function imap_rfc822_parse_adrlist(string $string, string $default_hostname): array {}
3737

3838
/** @param resource $imap */
3939
function imap_body($imap, int $message_num, int $flags = 0): string|false {}
@@ -251,4 +251,4 @@ function imap_setacl($imap, string $mailbox, string $user_id, string $rights): b
251251
function imap_getacl($imap, string $mailbox): array|false {}
252252
#endif
253253

254-
function imap_mail(string $to, string $subject, string $message, ?string $additional_headers = null, ?string $cc = null, ?string $bcc = null, ?string $rpath = null): bool {}
254+
function imap_mail(string $to, string $subject, string $message, ?string $additional_headers = null, ?string $cc = null, ?string $bcc = null, ?string $return_path = null): bool {}

ext/imap/php_imap_arginfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 9692bb6e7c08635f465b18771a51d0a035ab39e5 */
2+
* Stub hash: 621ebf610e043ce30c981f4c78ab79358c2aaeb9 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_imap_open, 0, 0, 3)
55
ZEND_ARG_TYPE_INFO(0, mailbox, IS_STRING, 0)
@@ -41,18 +41,18 @@ ZEND_END_ARG_INFO()
4141

4242
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_imap_rfc822_parse_headers, 0, 1, stdClass, 0)
4343
ZEND_ARG_TYPE_INFO(0, headers, IS_STRING, 0)
44-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, default_host, IS_STRING, 0, "\"UNKNOWN\"")
44+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, default_hostname, IS_STRING, 0, "\"UNKNOWN\"")
4545
ZEND_END_ARG_INFO()
4646

4747
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imap_rfc822_write_address, 0, 3, MAY_BE_STRING|MAY_BE_FALSE)
4848
ZEND_ARG_TYPE_INFO(0, mailbox, IS_STRING, 0)
49-
ZEND_ARG_TYPE_INFO(0, host, IS_STRING, 0)
49+
ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
5050
ZEND_ARG_TYPE_INFO(0, personal, IS_STRING, 0)
5151
ZEND_END_ARG_INFO()
5252

5353
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imap_rfc822_parse_adrlist, 0, 2, IS_ARRAY, 0)
5454
ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
55-
ZEND_ARG_TYPE_INFO(0, default_host, IS_STRING, 0)
55+
ZEND_ARG_TYPE_INFO(0, default_hostname, IS_STRING, 0)
5656
ZEND_END_ARG_INFO()
5757

5858
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imap_body, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
@@ -332,7 +332,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imap_mail, 0, 3, _IS_BOOL, 0)
332332
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, additional_headers, IS_STRING, 1, "null")
333333
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cc, IS_STRING, 1, "null")
334334
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bcc, IS_STRING, 1, "null")
335-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, rpath, IS_STRING, 1, "null")
335+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return_path, IS_STRING, 1, "null")
336336
ZEND_END_ARG_INFO()
337337

338338

0 commit comments

Comments
 (0)