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