Skip to content

Commit c6b251c

Browse files
committed
Add patches for stubs
* JetBrains/phpstorm-stubs#893 * JetBrains/phpstorm-stubs#894 * JetBrains/phpstorm-stubs#895 * JetBrains/phpstorm-stubs#896 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
1 parent b70792a commit c6b251c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/stubs/intl.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4606,7 +4606,7 @@ function grapheme_extract($haystack, $size, $extract_type = null, $start = 0, &$
46064606
* </p>
46074607
* @return string|false The ACE encoded version of the domain name or <b>FALSE</b> on failure.
46084608
*/
4609-
function idn_to_ascii($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, array &$idna_info) { }
4609+
function idn_to_ascii($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, array &$idna_info = null) { }
46104610

46114611
/**
46124612
* (PHP 5 &gt;= 5.3.0, PHP 7, PECL intl &gt;= 1.0.2, PHP 7, PECL idn &gt;= 0.1)<br/>
@@ -6340,7 +6340,7 @@ private function __construct() { }
63406340
* @param string $locale
63416341
* @return IntlBreakIterator
63426342
*/
6343-
public static function createCharacterInstance($locale) { }
6343+
public static function createCharacterInstance($locale = null) { }
63446344

63456345
/**
63466346
* (PHP 5 &gt;=5.5.0)<br/>
@@ -6440,7 +6440,7 @@ public function getLocale($locale_type) { }
64406440
* @link https://secure.php.net/manual/en/intlbreakiterator.getpartsiterator.php
64416441
* @param string $key_type [optional]
64426442
*/
6443-
public function getPartsIterator($key_type) { }
6443+
public function getPartsIterator($key_type = IntlPartsIterator::KEY_SEQUENTIAL) { }
64446444

64456445
/**
64466446
* (PHP 5 &gt;=5.5.0)<br/>
@@ -6471,7 +6471,7 @@ public function last() { }
64716471
* @param string $offset [optional]
64726472
* @return int
64736473
*/
6474-
public function next($offset) { }
6474+
public function next($offset = null) { }
64756475

64766476
/**
64776477
* (PHP 5 &gt;=5.5.0)<br/>

0 commit comments

Comments
 (0)