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

src/Admin/OauthAdmin.php (3 issues)

unused private properties.

Unused Code Minor

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

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
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
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
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