Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2024-04-30 23:18:02 +00:00
parent 63d975dab9
commit 672088b696
2 changed files with 3 additions and 3 deletions

View File

@@ -103,8 +103,8 @@ class Champion extends Model
{
$baseUrl = 'https://raw.communitydragon.org/pbe/plugins/rcp-be-lol-game-data/global/default/assets/characters/';
$championName = strtolower(str_replace([' ', "'", '.'], ['', '', ''], $this->name));
$imagePath = 'base/images/';
$imageUrl = $baseUrl . $championName . '/skins/' . $imagePath . $championName . '_splash_';
$imagePath = 'base/images/';
$imageUrl = $baseUrl.$championName.'/skins/'.$imagePath.$championName.'_splash_';
$imageUrl .= $uncentered ? 'uncentered' : 'centered';
$imageUrl .= '_0.jpg';