🧹 Duster

This commit is contained in:
Rico van Zelst
2024-06-18 12:55:10 +02:00
parent f3ded81a62
commit a0b37a4ab4
39 changed files with 191 additions and 232 deletions

View File

@@ -20,13 +20,6 @@ class SkinChroma extends Model
'chroma_image',
];
protected function casts(): array
{
return [
'chroma_colors' => 'array',
];
}
public function sluggable(): array
{
return [
@@ -45,4 +38,11 @@ class SkinChroma extends Model
{
return 'https://raw.communitydragon.org/pbe/plugins/rcp-be-lol-game-data/global/default/v1/champion-chroma-images/'.$this->skin->champion_id.'/'.$this->chroma_id.'.png';
}
protected function casts(): array
{
return [
'chroma_colors' => 'array',
];
}
}