diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2016-03-03 16:22:06 +0100 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2016-03-03 16:22:06 +0100 |
commit | e374df4be73e5d58361515ba068929d7c33115b0 (patch) | |
tree | 0266f2e57b9e7ac7582374c7569389200ad7df22 /lib/SimpleSAML/Utils/XML.php | |
parent | 9c3d26ab5932ba05248ea095268ed5eefd979cb8 (diff) | |
download | simplesamlphp-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.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; } } |