Passed
Push — master ( 5d259d...069a18 )
by Conrad
02:00
created

OauthAdmin

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 12
c 0
b 0
f 0
1
<?php
2
3
namespace AdvancedLearning\Admin;
4
5
use AdvancedLearning\Oauth2Server\Models\AccessToken;
6
use AdvancedLearning\Oauth2Server\Models\Client;
7
use AdvancedLearning\Oauth2Server\Models\Scope;
8
use SilverStripe\Admin\ModelAdmin;
9
10
class OauthAdmin extends ModelAdmin
11
{
12
    private static $url_segment = 'oauth';
0 ignored issues
show
Unused Code introduced by
The property $url_segment is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
13
14
    private static $menu_title = 'OAuth';
0 ignored issues
show
Unused Code introduced by
The property $menu_title is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
15
16
    private static $managed_models = [
0 ignored issues
show
Unused Code introduced by
The property $managed_models is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
17
        Client::class,
18
        AccessToken::class,
19
        Scope::class
20
    ];
21
}
22