Passed
Push — master ( 4c710f...167df6 )
by Tim
14:01
created

SignatureAlgorithm   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\WSSecurity\XML\wst_200502;
6
7
use SimpleSAML\XML\URIElementTrait;
8
9
/**
10
 * A SignatureAlgorithm element
11
 *
12
 * @package simplesamlphp/ws-security
13
 */
14
final class SignatureAlgorithm extends AbstractWstElement
15
{
16
    use URIElementTrait;
17
18
19
    /**
20
     * @param string $content
21
     */
22
    public function __construct(string $content)
23
    {
24
        $this->setContent($content);
25
    }
26
}
27