Skip to content

Commit c0f634f

Browse files
committed
Fix assertion
1 parent 59d9952 commit c0f634f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SAML2/XML/md/AffiliationDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public function addKeyDescriptor(KeyDescriptor $keyDescriptor) : void
252252
*/
253253
public function toXML(DOMElement $parent) : DOMElement
254254
{
255-
Assert::notEmpty($this->AffiliateMember);
255+
Assert::notEmpty($this->affiliationOwnerID);
256256

257257
$e = $parent->ownerDocument->createElementNS(Constants::NS_MD, 'md:AffiliationDescriptor');
258258
$parent->appendChild($e);

0 commit comments

Comments
 (0)