Added casts properties to all models, re-ordered model properties. Fixes #916
This commit is contained in:
@@ -24,8 +24,9 @@ class ComponentGroup extends Model
|
||||
* @var string[]
|
||||
*/
|
||||
protected $casts = [
|
||||
'id' => 'int',
|
||||
'name' => 'string',
|
||||
'order' => 'integer',
|
||||
'order' => 'int',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user