Exit when the class doen't exists

This commit is contained in:
Michael 2023-10-11 20:41:40 +00:00
parent 35991bc0e1
commit 407f46c043

View File

@ -2063,7 +2063,7 @@ class Item
*/
private static function splitByBlocks(string $body): array
{
if (class_exists('IntlChar')) {
if (!class_exists('IntlChar')) {
return [$body];
}