summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Utils/XML.php
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2016-03-03 16:22:06 +0100
committerJaime Perez Crespo <jaime.perez@uninett.no>2016-03-03 16:22:06 +0100
commite374df4be73e5d58361515ba068929d7c33115b0 (patch)
tree0266f2e57b9e7ac7582374c7569389200ad7df22 /lib/SimpleSAML/Utils/XML.php
parent9c3d26ab5932ba05248ea095268ed5eefd979cb8 (diff)
downloadsimplesamlphp-e374df4be73e5d58361515ba068929d7c33115b0.zip
simplesamlphp-e374df4be73e5d58361515ba068929d7c33115b0.tar.gz
simplesamlphp-e374df4be73e5d58361515ba068929d7c33115b0.tar.bz2
Minor formatting issues.
Diffstat (limited to 'lib/SimpleSAML/Utils/XML.php')
-rw-r--r--lib/SimpleSAML/Utils/XML.php4
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;
}
}