Completed
Push — master ( cfd0e6...d7683b )
by Michał
06:41
created

Identity   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php namespace nyx\auth\id\protocols\oauth2;
2
3
// Internal dependencies
4
use nyx\auth\id;
5
6
/**
7
 * OAuth 2.0 Identity
8
 *
9
 * @package     Nyx\Auth
10
 * @version     0.1.0
11
 * @author      Michal Chojnacki <[email protected]>
12
 * @copyright   2012-2017 Nyx Dev Team
13
 * @link        https://github.com/unyx/nyx
14
 */
15
abstract class Identity extends id\Identity
16
{
17
    /**
18
     * {@inheritDoc}
19
     *
20
     * Overridden for stricter type-hint on $token.
21
     */
22
    public function __construct(Token $token, array $data)
23
    {
24
        parent::__construct($token, $data);
25
    }
26
}
27