summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.stub.php
diff options
context:
space:
mode:
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 {}