Passed
Push — master ( 2d3781...f48916 )
by Tim
11:07 queued 06:44
created

AbstractMGFType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\XMLSecurity\XML\xenc11;
6
7
/**
8
 * Class representing <xenc11:AbstractMGFType>.
9
 *
10
 * @package simplesamlphp/xml-security
11
 */
12
abstract class AbstractMGFType extends AbstractAlgorithmIdentifierType
13
{
14
    /**
15
     * MGFType constructor.
16
     *
17
     * @param string $Algorithm
18
     */
19
    public function __construct(
20
        string $Algorithm,
21
    ) {
22
        parent::__construct($Algorithm, null);
23
    }
24
}
25