| 1 | <?php |
||
| 3 | class PointsOfInterestLayer extends DataObject |
||
| 4 | { |
||
| 5 | private static $db = array( |
||
| 6 | 'Name' => 'Varchar', |
||
| 7 | 'ShowGuideMarkers' => 'Boolean', |
||
| 8 | ); |
||
| 9 | |||
| 10 | private static $many_many = array('PointsOfInterest' => 'PointOfInterest'); |
||
| 11 | |||
| 12 | private static $has_one = array( |
||
|
|
|||
| 13 | 'DefaultIcon' => 'Image', |
||
| 14 | ); |
||
| 15 | } |
||
| 16 |
This check marks private properties in classes that are never used. Those properties can be removed.