Exit when the class doen't exists
This commit is contained in:
parent
35991bc0e1
commit
407f46c043
|
@ -2063,7 +2063,7 @@ class Item
|
|||
*/
|
||||
private static function splitByBlocks(string $body): array
|
||||
{
|
||||
if (class_exists('IntlChar')) {
|
||||
if (!class_exists('IntlChar')) {
|
||||
return [$body];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue