Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-18 12:24:44 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-08-18 14:01:10 +0300
commitc6b251ca0c6f8f0d1c99fe7b4a4e5d9c0792cd5b (patch)
tree80a7e998a2ca3f13827358556be97a7b8bacef1f /build/stubs
parentb70792aa6ac85ab95157f3f2de8ececc34292531 (diff)
Add patches for stubs
* https://github.com/JetBrains/phpstorm-stubs/pull/893 * https://github.com/JetBrains/phpstorm-stubs/pull/894 * https://github.com/JetBrains/phpstorm-stubs/pull/895 * https://github.com/JetBrains/phpstorm-stubs/pull/896 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'build/stubs')
-rw-r--r--build/stubs/intl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/stubs/intl.php b/build/stubs/intl.php
index 329f848efcb..d8533d9079a 100644
--- a/build/stubs/intl.php
+++ b/build/stubs/intl.php
@@ -4606,7 +4606,7 @@ function grapheme_extract($haystack, $size, $extract_type = null, $start = 0, &$
* </p>
* @return string|false The ACE encoded version of the domain name or <b>FALSE</b> on failure.
*/
-function idn_to_ascii($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, array &$idna_info) { }
+function idn_to_ascii($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, array &$idna_info = null) { }
/**
* (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 @@ class IntlBreakIterator implements IteratorAggregate
* @param string $locale
* @return IntlBreakIterator
*/
- public static function createCharacterInstance($locale) { }
+ public static function createCharacterInstance($locale = null) { }
/**
* (PHP 5 &gt;=5.5.0)<br/>
@@ -6440,7 +6440,7 @@ class IntlBreakIterator implements IteratorAggregate
* @link https://secure.php.net/manual/en/intlbreakiterator.getpartsiterator.php
* @param string $key_type [optional]
*/
- public function getPartsIterator($key_type) { }
+ public function getPartsIterator($key_type = IntlPartsIterator::KEY_SEQUENTIAL) { }
/**
* (PHP 5 &gt;=5.5.0)<br/>
@@ -6471,7 +6471,7 @@ class IntlBreakIterator implements IteratorAggregate
* @param string $offset [optional]
* @return int
*/
- public function next($offset) { }
+ public function next($offset = null) { }
/**
* (PHP 5 &gt;=5.5.0)<br/>