Completed
Push — master ( 6010a8...de901a )
by Derek Stephen
04:15
created

User   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getIdentifier() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: DM0C60544
5
 * Date: 21/3/2017
6
 * Time: 4:17 PM
7
 */
8
9
namespace OAuth;
10
11
use Del\Entity\User as UserEntity;
12
use League\OAuth2\Server\Entities\UserEntityInterface;
13
14
class User extends UserEntity implements UserEntityInterface
15
{
16
    /**
17
     * @return int
18
     */
19
    public function getIdentifier()
20
    {
21
        return $this->getID();
22
    }
23
24
}