Skip to content

Commit

Permalink
[11.x] PHP 8.4 Code compatibility (#53571)
Browse files Browse the repository at this point in the history
Extract fixes to Laravel Framework for PHP 8.4 from
laravel/framework#53468 PR. This would allows
us to release fixes for our 1st party packages

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone authored Nov 19, 2024
1 parent 869a20d commit 3e24806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 3e24806

Please sign in to comment.