style: laravel pint lint

This commit is contained in:
Rico van Zelst
2023-11-01 14:09:25 +01:00
parent 69c072a003
commit 9ced9a83f3
10 changed files with 47 additions and 45 deletions

View File

@@ -35,8 +35,8 @@ class Champion extends Model
{
return [
'slug' => [
'source' => 'name'
]
'source' => 'name',
],
];
}
@@ -47,46 +47,46 @@ class Champion extends Model
public function getChampionImageAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/splash-art';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/splash-art';
}
public function getChampionImageLoadingAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/portrait';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/portrait';
}
public function getChampionImageTileAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/tile';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/tile';
}
public function getChampionSquareImageAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/square';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/square';
}
public function getChampionAbilityIconQAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/ability-icon/q';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/ability-icon/q';
}
public function getChampionAbilityIconWAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/ability-icon/w';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/ability-icon/w';
}
public function getChampionAbilityIconEAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/ability-icon/e';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/ability-icon/e';
}
public function getChampionAbilityIconRAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/ability-icon/r';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/ability-icon/r';
}
public function getChampionAbilityIconPAttribute()
{
return 'https://cdn.communitydragon.org/latest/champion/' . $this->champion_id . '/ability-icon/p';
return 'https://cdn.communitydragon.org/latest/champion/'.$this->champion_id.'/ability-icon/p';
}
}