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
|
|||
13 | |||
14 | private static $menu_title = 'OAuth'; |
||
0 ignored issues
–
show
|
|||
15 | |||
16 | private static $managed_models = [ |
||
0 ignored issues
–
show
|
|||
17 | Client::class, |
||
18 | AccessToken::class, |
||
19 | Scope::class |
||
20 | ]; |
||
21 | } |
||
22 |
This check marks private properties in classes that are never used. Those properties can be removed.