| 1 | <?php |
||
| 9 | class CountryPrice_OrderStepDOD extends DataExtension |
||
| 10 | { |
||
| 11 | private static $db = array( |
||
| 12 | 'SendEmailToDistributor' => 'Boolean' |
||
| 13 | ); |
||
| 14 | |||
| 15 | private static $has_many = array( |
||
| 16 | 'EcommerceOrderStepCountryDatas' => 'EcommerceOrderStepCountryData', |
||
| 17 | ); |
||
| 18 | |||
| 19 | private static $field_labels = array( |
||
| 20 | 'EcommerceOrderStepCountryDatas' => 'Regionalisation', |
||
| 21 | ); |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Update Fields |
||
| 25 | * @return FieldList |
||
|
|
|||
| 26 | */ |
||
| 27 | public function updateCMSFields(FieldList $fields) |
||
| 63 | } |
||
| 64 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.