diff options
Diffstat (limited to 'lib/SimpleSAML/Utils/XML.php')
-rw-r--r-- | lib/SimpleSAML/Utils/XML.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Utils/XML.php b/lib/SimpleSAML/Utils/XML.php index 13b5123..092de6c 100644 --- a/lib/SimpleSAML/Utils/XML.php +++ b/lib/SimpleSAML/Utils/XML.php @@ -230,7 +230,7 @@ class XML try { $doc = \SAML2_DOMDocumentFactory::fromString($xml); - } catch(\Exception $e) { + } catch (\Exception $e) { throw new \DOMException('Error parsing XML string.'); } @@ -405,7 +405,7 @@ class XML try { $dom = \SAML2_DOMDocumentFactory::fromString($xml); $res = true; - } catch(Exception $e) { + } catch (Exception $e) { $res = false; } } |