mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
⚙️ SkinChroma Array cast
This commit is contained in:
@@ -17,6 +17,10 @@ class SkinChroma extends Model
|
|||||||
'chroma_image',
|
'chroma_image',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $casts = [
|
||||||
|
'chroma_colors' => 'array',
|
||||||
|
];
|
||||||
|
|
||||||
public function skin()
|
public function skin()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Skin::class);
|
return $this->belongsTo(Skin::class);
|
||||||
|
|||||||
Reference in New Issue
Block a user