feat: upcoming skins & feat: return types

This commit is contained in:
Rico van Zelst
2023-11-06 20:56:21 +01:00
parent ae1c9f0843
commit 3d6c00dd0d
7 changed files with 101 additions and 21 deletions

View File

@@ -24,7 +24,7 @@ class ChampionRoles extends Model
return $this->belongsTo(Champion::class);
}
public function getRolesAttribute($value)
public function getRolesAttribute($value): array
{
$value = json_decode($value);