Completed
Push — master ( d874fd...3a6bc2 )
by Conrad
01:56
created

src/Admin/OauthAdmin.php (3 issues)

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
Comprehensibility introduced by Conrad Dobbs
Consider using a different property name as you override a private property of the parent class.
Loading history...
13
14
    private static $menu_title = 'OAuth';
0 ignored issues
show
Comprehensibility introduced by Conrad Dobbs
Consider using a different property name as you override a private property of the parent class.
Loading history...
15
16
    private static $managed_models = [
0 ignored issues
show
Comprehensibility introduced by Conrad Dobbs
Consider using a different property name as you override a private property of the parent class.
Loading history...
17
        Client::class,
18
        AccessToken::class,
19
        Scope::class
20
    ];
21
}
22