Completed
Push — master ( 6d4bc5...5bd20c )
by Derek Stephen
05:29
created

UserRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getUserEntityByUserCredentials() 0 4 1
1
<?php
2
3
namespace OAuth\Repository;
4
5
use Del\Repository\UserRepository as UserRepo;
6
use League\OAuth2\Server\Entities\ClientEntityInterface;
7
use League\OAuth2\Server\Repositories\UserRepositoryInterface;
8
9
class UserRepository extends UserRepo implements UserRepositoryInterface
10
{
11
    /**
12
     * @param string $username
13
     * @param string $password
14
     * @param string $grantType
15
     * @param ClientEntityInterface $clientEntity
16
     * @return mixed
17
     */
18
    public function getUserEntityByUserCredentials($username, $password, $grantType, ClientEntityInterface $clientEntity)
19
    {
20
        // TODO: Implement getUserEntityByUserCredentials() method.
21
    }
22
}