These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | class LocationCategory extends DataObject |
||
4 | { |
||
5 | private static $db = array( |
||
6 | 'Name' => 'Varchar(100)', |
||
7 | ); |
||
8 | |||
9 | private static $has_many = array( |
||
10 | 'Locations' => 'Location', |
||
11 | ); |
||
12 | |||
13 | private static $belogs_many_many = array( |
||
14 | 'Locators' => 'Locator' |
||
15 | ); |
||
16 | |||
17 | private static $singular_name = "Category"; |
||
1 ignored issue
–
show
|
|||
18 | 1 | Private static $plural_name = "Categories"; |
|
1 ignored issue
–
show
|
|||
19 | |||
20 | private static $default_sort = 'Name'; |
||
21 | } |
||
22 |
This check marks private properties in classes that are never used. Those properties can be removed.