Skip to content

Commit b9bc88c

Browse files
committed
Remove unused variable
1 parent dccd820 commit b9bc88c

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/XML/wsse/AbstractAttributedString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ public static function fromXML(DOMElement $xml): static
7979
Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);
8080
Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);
8181

82-
$nsAttributes = self::getAttributesNSFromXML($xml);
83-
8482
$Id = null;
8583
if ($xml->hasAttributeNS(C::NS_SEC_UTIL, 'Id')) {
8684
$Id = IDValue::fromString($xml->getAttributeNS(C::NS_SEC_UTIL, 'Id'));

src/XML/wsse/AbstractBinarySecurityTokenType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ public static function fromXML(DOMElement $xml): static
6363
Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);
6464
Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);
6565

66-
$nsAttributes = self::getAttributesNSFromXML($xml);
67-
6866
$Id = null;
6967
if ($xml->hasAttributeNS(C::NS_SEC_UTIL, 'Id')) {
7068
$Id = IDValue::fromString($xml->getAttributeNS(C::NS_SEC_UTIL, 'Id'));

src/XML/wsse/AbstractEncodedString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ public static function fromXML(DOMElement $xml): static
6262
Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);
6363
Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);
6464

65-
$nsAttributes = self::getAttributesNSFromXML($xml);
66-
6765
$Id = null;
6866
if ($xml->hasAttributeNS(C::NS_SEC_UTIL, 'Id')) {
6967
$Id = IDValue::fromString($xml->getAttributeNS(C::NS_SEC_UTIL, 'Id'));

src/XML/wsse/AbstractKeyIdentifierType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ public static function fromXML(DOMElement $xml): static
6262
Assert::same($xml->localName, static::getLocalName(), InvalidDOMElementException::class);
6363
Assert::same($xml->namespaceURI, static::NS, InvalidDOMElementException::class);
6464

65-
$nsAttributes = self::getAttributesNSFromXML($xml);
66-
6765
$Id = null;
6866
if ($xml->hasAttributeNS(C::NS_SEC_UTIL, 'Id')) {
6967
$Id = IDValue::fromString($xml->getAttributeNS(C::NS_SEC_UTIL, 'Id'));

0 commit comments

Comments
 (0)