Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2024-03-18 17:48:57 +00:00
parent 1bea8f8d5c
commit 8fa00e2ef6
57 changed files with 148 additions and 131 deletions

View File

@@ -34,7 +34,7 @@ class SkinChromaSeeder extends Seeder
$chromaAttributes = [
'chroma_id' => $chromaId,
'full_skin_id' => $skin['id'],
'skin_name' => $skin['name'] . ' ' . $champion['name'],
'skin_name' => $skin['name'].' '.$champion['name'],
'chroma_name' => $chroma['name'],
'chroma_colors' => $chroma['colors'],
'chroma_image' => $chroma['chromaPath'],
@@ -50,11 +50,11 @@ class SkinChromaSeeder extends Seeder
}
if ($chromaExists && $this->hasAttributesChanged($chromaExists, $chromaAttributes)) {
Log::info('Updating chroma: ' . $chromaId);
Log::info('Updating chroma: '.$chromaId);
$chromaExists->update($chromaAttributes);
$changeCount++;
} elseif (!$chromaExists) {
Log::info('Creating chroma: ' . $chromaId);
} elseif (! $chromaExists) {
Log::info('Creating chroma: '.$chromaId);
SkinChroma::create($chromaAttributes);
$changeCount++;
}