From 08ebb81ac800f545e44780bf0bb13ca271322532 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 14 Feb 2024 17:05:30 +0200 Subject: [PATCH] silentize simplexml warning --- src/Manticore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Manticore.php b/src/Manticore.php index 44e2961..e12de1a 100644 --- a/src/Manticore.php +++ b/src/Manticore.php @@ -280,7 +280,7 @@ class Manticore case null !== json_decode((string) $value, null, 2147483647): return $type = self::TYPE_JSON; - case false !== simplexml_load_string((string) $value): + case false !== @simplexml_load_string((string) $value): return $type = self::TYPE_XML; default: