Passed
Pull Request — master (#6)
by Tim
12:09
created

AssertionIDReference::toXML()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 6
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML11\XML\saml;
6
7
use DOMElement;
8
use SimpleSAML\SAML11\Assert\Assert;
9
use SimpleSAML\XML\{SchemaValidatableElementInterface, SchemaValidatableElementTrait};
10
use SimpleSAML\XML\Type\NCNameValue;
11
use SimpleSAML\XML\TypedTextContentTrait;
12
13
/**
14
 * Class representing a saml:AssertionIDReference element.
15
 *
16
 * @package simplesamlphp/saml11
17
 */
18
final class AssertionIDReference extends AbstractSamlElement implements SchemaValidatableElementInterface
19
{
20
    use SchemaValidatableElementTrait;
21
    use TypedTextContentTrait;
1 ignored issue
show
introduced by
The trait SimpleSAML\XML\TypedTextContentTrait requires some properties which are not provided by SimpleSAML\SAML11\XML\saml\AssertionIDReference: $localName, $namespaceURI
Loading history...
22
23
    /** @var string */
24
    public const TEXTCONTENT_TYPE = NCNameValue::class;
25
}
26