99use SimpleSAML \XML \ExtendableAttributesTrait ;
1010use SimpleSAML \XML \TypedTextContentTrait ;
1111use SimpleSAML \XMLSchema \Exception \InvalidDOMElementException ;
12+ use SimpleSAML \XMLSchema \Type \AnyURIValue ;
1213use SimpleSAML \XMLSchema \Type \Base64BinaryValue ;
13- use SimpleSAML \XMLSchema \Type \Helper \AnyURIListValue ;
1414use SimpleSAML \XMLSchema \XML \Constants \NS ;
1515
1616/**
@@ -33,12 +33,12 @@ abstract class AbstractBinarySecretType extends AbstractWstElement
3333
3434 /**
3535 * @param \SimpleSAML\XMLSchema\Type\Base64BinaryValue $content
36- * @param \SimpleSAML\XMLSchema\Type\Helper\AnyURIListValue |null $Type
36+ * @param \SimpleSAML\XMLSchema\Type\AnyURIValue |null $Type
3737 * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes
3838 */
3939 final public function __construct (
4040 Base64BinaryValue $ content ,
41- protected ?AnyURIListValue $ Type = null ,
41+ protected ?AnyURIValue $ Type = null ,
4242 array $ namespacedAttributes = [],
4343 ) {
4444 $ this ->setContent ($ content );
@@ -49,9 +49,9 @@ final public function __construct(
4949 /**
5050 * Get the Type property.
5151 *
52- * @return \SimpleSAML\XMLSchema\Type\Helper\AnyURIListValue |null
52+ * @return \SimpleSAML\XMLSchema\Type\AnyURIValue |null
5353 */
54- public function getType (): ?AnyURIListValue
54+ public function getType (): ?AnyURIValue
5555 {
5656 return $ this ->Type ;
5757 }
@@ -73,7 +73,7 @@ public static function fromXML(DOMElement $xml): static
7373
7474 return new static (
7575 Base64BinaryValue::fromString ($ xml ->textContent ),
76- self ::getAttribute ($ xml , 'Type ' , AnyURIListValue ::class),
76+ self ::getAttribute ($ xml , 'Type ' , AnyURIValue ::class),
7777 self ::getAttributesNSFromXML ($ xml ),
7878 );
7979 }
0 commit comments