chore: code style

This commit is contained in:
hackerESQ
2025-01-28 17:14:49 -06:00
parent c4736fae70
commit e8ef0921ad
123 changed files with 1051 additions and 1197 deletions
+5 -5
View File
@@ -2,8 +2,8 @@
namespace App\Console\Commands;
use App\Models\Holding;
use App\Models\Dividend;
use App\Models\Holding;
use Illuminate\Console\Command;
class RefreshDividendData extends Command
@@ -43,17 +43,17 @@ class RefreshDividendData extends Command
{
$holdings = Holding::distinct();
if (!($this->option('force') ?? false)) {
if (! ($this->option('force') ?? false)) {
$holdings->where('quantity', '>', 0);
}
}
if ($this->option('user')) {
$holdings->myHoldings($this->option('user'));
}
foreach ($holdings->get(['symbol']) as $holding) {
$this->line('Refreshing ' . $holding->symbol);
$this->line('Refreshing '.$holding->symbol);
Dividend::refreshDividendData($holding->symbol);
}
}