Skip to content

Commit f57b0e6

Browse files
committed
Update stubs
1 parent e0da651 commit f57b0e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stubs/ext/intl/idn_to_ascii.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
/* idn */
44
/** @param array $idna_info */
5-
function idn_to_ascii(string $domain, int $flags = 0, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) : string|false
5+
function idn_to_ascii(string $domain, int $flags = IDNA_DEFAULT, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) : string|false
66
{
77
}

stubs/ext/intl/idn_to_utf8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

33
/** @param array $idna_info */
4-
function idn_to_utf8(string $domain, int $flags = 0, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) : string|false
4+
function idn_to_utf8(string $domain, int $flags = IDNA_DEFAULT, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null) : string|false
55
{
66
}

0 commit comments

Comments
 (0)