Passed
Pull Request — master (#60)
by Tim
04:13 queued 01:58
created

K1::fromXML()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 7
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\XMLSecurity\XML\dsig11;
6
7
use SimpleSAML\XML\Type\PositiveIntegerValue;
8
use SimpleSAML\XML\TypedTextContentTrait;
9
10
/**
11
 * Class representing a dsig11:K1 element.
12
 *
13
 * @package simplesaml/xml-security
14
 */
15
final class K1 extends AbstractDsig11Element
16
{
17
    use TypedTextContentTrait;
18
19
    /** @var string */
20
    public const TEXTCONTENT_TYPE = PositiveIntegerValue::class;
21
}
22