| 1 | <?php |
||
| 3 | class DonationProduct extends ProductPage |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * @var string |
||
| 7 | */ |
||
| 8 | private static $singular_name = 'Donation'; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private static $plural_name = 'Donations'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | private static $allowed_children = []; |
||
|
|
|||
| 19 | |||
| 20 | /** |
||
| 21 | * @return FieldList |
||
| 22 | */ |
||
| 23 | public function getCMSFields() |
||
| 34 | } |
||
| 35 | |||
| 65 | } |
This check marks private properties in classes that are never used. Those properties can be removed.