mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-07 02:30:49 +01:00
feat: refactor code and improve readability
This commit is contained in:
@@ -23,7 +23,7 @@ class ChampionRoles extends Model
|
||||
|
||||
public function getRolesAttribute($value): array
|
||||
{
|
||||
$value = json_decode($value);
|
||||
$value = json_decode((string) $value);
|
||||
|
||||
$roleNames = [
|
||||
'TOP' => 'Toplane',
|
||||
|
||||
Reference in New Issue
Block a user