Completed
Push — master ( d9a404...9e6750 )
by Alexandre
02:12
created

IgnoreScopePolicy::getDefaultScopes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
ccs 0
cts 2
cp 0
crap 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: GCC-MED
5
 * Date: 15/01/2018
6
 * Time: 11:49
7
 */
8
9
namespace OAuth2\ScopePolicy\Policies;
10
11
use OAuth2\Roles\ClientInterface;
12
13
class IgnoreScopePolicy implements ScopePolicyInterface
14
{
15
16
    function getDefaultScopes(ClientInterface $client): ?array
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
17
    {
18
        return null;
19
    }
20
}