Passed
Pull Request — master (#351)
by Tim
02:15
created

IDNameQualifiersTrait::getNameQualifier()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML2\XML\saml;
6
7
/**
8
 * SAML IDNameQualifier attribute group.
9
 *
10
 * @package simplesamlphp/saml2
11
 */
12
trait IDNameQualifiersTrait
13
{
14
    /**
15
     * Collect the value of the NameQualifier-property
16
     *
17
     * @return string|null
18
     */
19
    public function getNameQualifier(): ?string
20
    {
21
        return $this->nameQualifier;
22
    }
23
24
25
    /**
26
     * Collect the value of the SPNameQualifier-property
27
     *
28
     * @return string|null
29
     */
30
    public function getSPNameQualifier(): ?string
31
    {
32
        return $this->spNameQualifier;
33
    }
34
}
35