Skip to content

Commit

Permalink
issue #7 - remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelcom committed Mar 7, 2019
1 parent ac92bc9 commit 9d75a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ protected function appendAttributesToElementToSend(\DOMElement $element)
if (false === strpos($attributeName, ':')) {
$element->setAttribute($attributeName, $attributeValue);
} else {
list($ns, $name) = explode(':', $attributeName);
list($ns) = explode(':', $attributeName);
if (self::NS_WSSE_NAME === $ns || self::NS_WSSU_NAME === $ns) {
$element->setAttributeNS(self::NS_WSSE_NAME === $ns ? self::NS_WSSE : self::NS_WSSU, $attributeName, $attributeValue);
} else {
Expand Down

0 comments on commit 9d75a72

Please sign in to comment.