Various code cleanup and fixed alignments.

This commit is contained in:
James Cole
2024-01-01 14:48:04 +01:00
parent f3773ebfc2
commit 61c38f2a99
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ $current = __DIR__;
$paths = [ $paths = [
$current . '/../../app', $current . '/../../app',
$current . '/../../config', $current . '/../../config',
// $current . '/../../database', $current . '/../../database',
// $current . '/../../routes', // $current . '/../../routes',
// $current . '/../../tests', // $current . '/../../tests',
// $current . '/../../resources/lang', // $current . '/../../resources/lang',

View File

@@ -36,7 +36,7 @@ class ExchangeRateSeeder extends Seeder
{ {
public function run(): void public function run(): void
{ {
$count = User::count(); $count = User::count();
if (0 === $count) { if (0 === $count) {
app('log')->debug('Will not seed exchange rates yet.'); app('log')->debug('Will not seed exchange rates yet.');

View File

@@ -33,7 +33,7 @@ class TransactionCurrencySeeder extends Seeder
{ {
public function run(): void public function run(): void
{ {
$currencies = []; $currencies = [];
// european currencies // european currencies
$currencies[] = ['code' => 'EUR', 'name' => 'Euro', 'symbol' => '€', 'decimal_places' => 2, 'enabled' => 1]; $currencies[] = ['code' => 'EUR', 'name' => 'Euro', 'symbol' => '€', 'decimal_places' => 2, 'enabled' => 1];
$currencies[] = ['code' => 'HUF', 'name' => 'Hungarian forint', 'symbol' => 'Ft', 'decimal_places' => 2]; $currencies[] = ['code' => 'HUF', 'name' => 'Hungarian forint', 'symbol' => 'Ft', 'decimal_places' => 2];