Passed
Pull Request — master (#6)
by Tim
02:13
created

AssertionArtifact::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML11\XML\samlp;
6
7
use SimpleSAML\SAML11\Type\StringValue;
8
use SimpleSAML\XML\{SchemaValidatableElementInterface, SchemaValidatableElementTrait};
9
use SimpleSAML\XML\TypedTextContentTrait;
10
11
/**
12
 * SAML AssertionArtifact element.
13
 *
14
 * @package simplesamlphp/saml11
15
 */
16
17
final class AssertionArtifact extends AbstractSamlpElement implements SchemaValidatableElementInterface
18
{
19
    use SchemaValidatableElementTrait;
20
    use TypedTextContentTrait;
21
22
    /** @var string */
23
    public const TEXTCONTENT_TYPE = StringValue::class;
24
}
25