style: make per the coding style in pint

This commit is contained in:
Rico van Zelst
2023-11-02 13:05:53 +01:00
parent a8c31e3097
commit 91ec747c2c
37 changed files with 55 additions and 69 deletions

View File

@@ -32,7 +32,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'],
@@ -44,10 +44,10 @@ class SkinChromaSeeder extends Seeder
}
if ($chromaExists && $this->hasAttributesChanged($chromaExists, $chromaAttributes)) {
Log::info('Updating chroma: '.$chromaId);
Log::info('Updating chroma: ' . $chromaId);
$chromaExists->update($chromaAttributes);
} elseif (! $chromaExists) {
Log::info('Creating chroma: '.$chromaId);
Log::info('Creating chroma: ' . $chromaId);
SkinChroma::create($chromaAttributes);
}
}