mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 04:45:13 +00:00
silentize simplexml warning
This commit is contained in:
parent
e4b36f10d7
commit
08ebb81ac8
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user