mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
feat: upcoming skins & feat: return types
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user