Merge branch '3.0'

This commit is contained in:
terrafrost 2022-07-14 23:05:51 -05:00
commit 4914e91a33

View File

@ -42,6 +42,10 @@ abstract class XML
*/
public static function load($key, $password = '')
{
if (!extension_loaded('dom')) {
return false;
}
if (!Strings::is_stringable($key)) {
throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
}