Skip to content

Commit

Permalink
Fix accessing private property
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 13, 2019
1 parent cf4aeb5 commit 8496630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Assertion.php
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@ private function addEncryptedAttributeStatement(DOMElement $root): void
foreach ($this->attributes as $name => $attributeObj) {
// possibly override the xsi type for the current attribute
if (is_array($this->attributesValueTypes) &&
array_key_exists($attributeObj->Name, $this->attributesValueTypes)) {
array_key_exists($attributeObj->getName(), $this->attributesValueTypes)) {
$this->overrideAttributeType($attributeObj);
}
$attributeElement = $attributeObj->toXML($attributeStatement);
Expand Down

0 comments on commit 8496630

Please sign in to comment.