Test Failed
Pull Request — master (#88)
by Artem
04:05
created

IdentityProviderResolved   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Slides\Saml2\Events;
4
5
use Slides\Saml2\Auth as SamlAuth;
6
use Slides\Saml2\Contracts\IdentityProvidable;
7
8
class IdentityProviderResolved
9
{
10
    /**
11
     * The authentication handler.
12
     *
13
     * @var SamlAuth
14
     */
15
    public SamlAuth $auth;
16
17
    /**
18
     * The identity provider.
19
     *
20
     * @var IdentityProvidable
21
     */
22
    public IdentityProvidable $idp;
23
24
    /**
25
     * LoggedIn constructor.
26
     *
27
     * @param SamlAuth $auth
28
     * @param IdentityProvidable $idp
29
     */
30
    public function __construct(SamlAuth $auth, IdentityProvidable $idp)
31
    {
32
        $this->auth = $auth;
33
        $this->idp = $idp;
34
    }
35
}
36