Browse Source

silentize simplexml warning

main
ghost 9 months ago
parent
commit
08ebb81ac8
  1. 2
      src/Manticore.php

2
src/Manticore.php

@ -280,7 +280,7 @@ class Manticore
case null !== json_decode((string) $value, null, 2147483647): case null !== json_decode((string) $value, null, 2147483647):
return $type = self::TYPE_JSON; return $type = self::TYPE_JSON;
case false !== simplexml_load_string((string) $value): case false !== @simplexml_load_string((string) $value):
return $type = self::TYPE_XML; return $type = self::TYPE_XML;
default: default:

Loading…
Cancel
Save