diff --git a/bootstrap80.php b/bootstrap80.php index 53b4529..b8c0786 100644 --- a/bootstrap80.php +++ b/bootstrap80.php @@ -46,5 +46,5 @@ function grapheme_strrpos(?string $haystack, ?string $needle, ?int $offset = 0): function grapheme_strstr(?string $haystack, ?string $needle, ?bool $beforeNeedle = false): string|false { return p\Grapheme::grapheme_strstr((string) $haystack, (string) $needle, (bool) $beforeNeedle); } } if (!function_exists('grapheme_substr')) { - function grapheme_substr(?string $string, ?int $offset, ?int $length = null): string|false { return p\Grapheme::grapheme_substr((string) $string, (int) $offset, (int) $length); } + function grapheme_substr(?string $string, ?int $offset, ?int $length = null): string|false { return p\Grapheme::grapheme_substr((string) $string, (int) $offset, $length); } }