summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-10 18:04:17 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-10 18:17:18 +0200
commit4aa137c6a624f4f03b04bea60d61872ec490e4f8 (patch)
treed4c5555a42f38d717b8e462ef77c107342e5248c /ext/intl/php_intl.stub.php
parentce3b49a8e81bdf4d39ca097e7699fde20998102e (diff)
downloadphp-git-4aa137c6a624f4f03b04bea60d61872ec490e4f8.tar.gz
Fix the default value of the $length parameter of grapheme_substr()
Diffstat (limited to 'ext/intl/php_intl.stub.php')
-rw-r--r--ext/intl/php_intl.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/php_intl.stub.php b/ext/intl/php_intl.stub.php
index dbe905dbef..3154996f00 100644
--- a/ext/intl/php_intl.stub.php
+++ b/ext/intl/php_intl.stub.php
@@ -245,7 +245,7 @@ function grapheme_strrpos(string $haystack, string $needle, int $offset = 0): in
function grapheme_strripos(string $haystack, string $needle, int $offset = 0): int|false {}
-function grapheme_substr(string $string, int $start, ?int $length = 0): string|false {}
+function grapheme_substr(string $string, int $start, ?int $length = null): string|false {}
function grapheme_strstr(string $haystack, string $needle, bool $before_needle = false): string|false {}