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

Identity::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
1
<?php namespace nyx\auth\id\protocols\oauth1;
2
3
// Internal dependencies
4
use nyx\auth;
5
6
/**
7
 * OAuth 1.0a 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 auth\id\Identity
16
{
17
    /**
18
     * {@inheritDoc}
19
     *
20
     * Overridden for stricter type-hint on $credentials.
21
     */
22
    public function __construct(auth\interfaces\Credentials $credentials, array $data)
23
    {
24
        parent::__construct($credentials, $data);
25
    }
26
}
27