Skip to content
Snippets Groups Projects
Unverified Commit 11ca7d17 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Update SAMLParser.php

parent 92b96a3f
No related branches found
No related tags found
No related merge requests found
......@@ -267,8 +267,7 @@ class SimpleSAML_Metadata_SAMLParser
public static function parseElement($entityElement)
{
assert($entityElement instanceof \SAML2\XML\md\EntityDescriptor);
return new SimpleSAML_Metadata_SAMLParser($entityElement, null);
return new SimpleSAML_Metadata_SAMLParser($entityElement, null, array());
}
......@@ -285,7 +284,6 @@ class SimpleSAML_Metadata_SAMLParser
*/
public static function parseDescriptorsFile($file)
{
if ($file === null) {
throw new Exception('Cannot open file NULL. File name not specified.');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment