66
77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
9- use SimpleSAML \SAML11 \Type \{ AnyURIValue , StringValue } ;
9+ use SimpleSAML \SAML11 \Type \StringValue ;
1010use SimpleSAML \XML \Exception \{
1111 InvalidDOMElementException ,
1212 MissingElementException ,
1313 SchemaViolationException ,
1414 TooManyElementsException ,
1515};
16+ use SimpleSAML \XML \Type \AnyURIValue ;
1617
1718use function strval ;
1819
@@ -26,14 +27,15 @@ abstract class AbstractAuthorizationDecisionStatementType extends AbstractSubjec
2627 /**
2728 * Initialize a saml:AuthorizationDecisionStatementType from scratch
2829 *
29- * @param \SimpleSAML\SAML11 \Type\AnyURIValue $resource
30+ * @param \SimpleSAML\XML \Type\AnyURIValue $resource
3031 * @param \SimpleSAML\SAML11\XML\saml\DecisionTypeEnum $decision
3132 * @param \SimpleSAML\SAML11\XML\saml\Subject $subject
3233 * @param array<\SimpleSAML\SAML11\XML\saml\Action> $action
3334 * @param \SimpleSAML\SAML11\XML\saml\Evidence|null $evidence
3435 */
3536 final public function __construct (
3637 Subject $ subject ,
38+ // Uses the base AnyURIValue because the SAML specification allows this attribute to be an empty string
3739 protected AnyURIValue $ resource ,
3840 protected DecisionTypeEnum $ decision ,
3941 protected array $ action = [],
0 commit comments