Failed Conditions
Push — issue#666 ( f415d0...521a08 )
by Guilherme
12:02
created

UserClaims   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 13
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getUserClaims() 0 3 1
A __construct() 0 3 1
1
<?php
2
/**
3
 * This file is part of the login-cidadao project or it's bundles.
4
 *
5
 * (c) Guilherme Donato <guilhermednt on github>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace LoginCidadao\OpenIDBundle\Storage;
12
13
use Doctrine\ORM\EntityManager;
14
use OAuth2\OpenID\Storage\UserClaimsInterface;
15
16
class UserClaims implements UserClaimsInterface
17
{
18
    /** @var EntityManager */
19
    private $em;
20
21 1
    public function __construct(EntityManager $em)
22
    {
23 1
        $this->em = $em;
24 1
    }
25
26 1
    public function getUserClaims($user_id, $scope)
27
    {
28 1
        return null;
29
    }
30
}
31