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

UserClaims::getUserClaims()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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