Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2024-04-15 03:17:22 +00:00
parent a0f3fcba18
commit 401fa11cb1
4 changed files with 4 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class Champion extends Model
{
$baseUrl = 'https://raw.communitydragon.org/pbe/plugins/rcp-be-lol-game-data/global/default/v1/champion-splashes/';
$imagePath = $uncentered ? 'uncentered/' : '';
$imageUrl = $baseUrl . $imagePath . $this->champion_id . '/' . $this->champion_id . '000.jpg';
$imageUrl = $baseUrl.$imagePath.$this->champion_id.'/'.$this->champion_id.'000.jpg';
return $imageUrl;
}

View File

@@ -76,7 +76,7 @@ class ChampionSkin extends Model
{
$baseUrl = 'https://raw.communitydragon.org/pbe/plugins/rcp-be-lol-game-data/global/default/v1/champion-splashes/';
$imagePath = $uncentered ? 'uncentered/' : '';
$imageUrl = $baseUrl . $imagePath . $this->champion_id . '/' . $this->full_skin_id . '.jpg';
$imageUrl = $baseUrl.$imagePath.$this->champion_id.'/'.$this->full_skin_id.'.jpg';
return $imageUrl;
}