From 3e248061e77b67cdf868411e68cf17de524e3d1d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 20 Nov 2024 03:46:19 +0800 Subject: [PATCH] [11.x] PHP 8.4 Code compatibility (#53571) Extract fixes to Laravel Framework for PHP 8.4 from https://github.com/laravel/framework/pull/53468 PR. This would allows us to release fixes for our 1st party packages Signed-off-by: Mior Muhammad Zaki --- Str.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Str.php b/Str.php index d89bfae4..1f5dfc85 100644 --- a/Str.php +++ b/Str.php @@ -119,7 +119,7 @@ public static function afterLast($subject, $search) */ public static function ascii($value, $language = 'en') { - return ASCII::to_ascii((string) $value, $language); + return ASCII::to_ascii((string) $value, $language, replace_single_chars_only: false); } /**