summaryrefslogtreecommitdiffstats
path: root/lib/SAML2/ArtifactResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SAML2/ArtifactResponse.php')
-rw-r--r--lib/SAML2/ArtifactResponse.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/SAML2/ArtifactResponse.php b/lib/SAML2/ArtifactResponse.php
index 7d4fe5e..e818682 100644
--- a/lib/SAML2/ArtifactResponse.php
+++ b/lib/SAML2/ArtifactResponse.php
@@ -11,7 +11,10 @@ class SAML2_ArtifactResponse extends SAML2_StatusResponse {
/**
- * @var any contains saml2message XML
+ * The DOMElement with the message the artifact refers
+ * to, or NULL if we don't refer to any artifact.
+ *
+ * @var DOMElement|NULL
*/
private $any;
@@ -38,8 +41,7 @@ class SAML2_ArtifactResponse extends SAML2_StatusResponse {
}
- public function setAny(DOMElement $any) {
- assert('!is_null($any)');
+ public function setAny(DOMElement $any = NULL) {
$this->any = $any;
}