Passed
Push — master ( 25fd26...1cb796 )
by Jaime Pérez
02:17
created

EncryptionMethod::toXML()   A

Complexity

Conditions 4
Paths 8

Size

Total Lines 20
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 4
eloc 11
c 1
b 0
f 0
nc 8
nop 1
dl 0
loc 20
rs 9.9
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SAML2\XML\md;
6
7
use SAML2\Constants;
8
9
/**
10
 * A class implementing the md:EncryptionMethod element.
11
 *
12
 * @package simplesamlphp/saml2
13
 */
14
class EncryptionMethod extends \SAML2\XML\xenc\EncryptionMethod
15
{
16
    /** @var string */
17
    public const NS = Constants::NS_MD;
18
19
    /** @var string */
20
    public const NS_PREFIX = 'md';
21
}
22