| Total Complexity | 2 | 
| Total Lines | 29 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 13 | class Customer extends DataObject implements TestOnly, ValidationRules | ||
| 14 | { | ||
| 15 | /** | ||
| 16 | * @var string[] | ||
| 17 | */ | ||
| 18 | private static $db = [ | ||
|  | |||
| 19 | 'Name' => 'Varchar(255)', | ||
| 20 | 'Company' => 'Varchar(255)' | ||
| 21 | ]; | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @return array | ||
| 25 | */ | ||
| 26 | public function rules() : array | ||
| 31 | ]; | ||
| 32 | } | ||
| 33 | |||
| 34 | /** | ||
| 35 | * @return string[][] | ||
| 36 | */ | ||
| 37 | public function messages() : array | ||
| 46 |