This commit is contained in:
salam committed 2026-09-11 10:49:49 +02:00
1 parent f028a8b2a8
commit 60ab054eb2
5 files changed
+18 -16

No files matched your search

+2 -2
View File
@@ -10,13 +10,13 @@ use App\Console\Commands\Grapper\Sofascore\Rose;
use App\Console\Commands\Grapper\Sofascore\SendMail;
use App\Console\Commands\Grapper\Sofascore\SettingsToLocal;
use App\Console\Commands\Grapper\Sofascore\SqlMover;
use App\Traits\UpdatePlayerSeasonHelper;
use App\Traits\UpdateHelper;
use App\Utilities\Notice;
use Illuminate\Console\Command;
class Grap extends Command
{
use UpdatePlayerSeasonHelper;
use UpdateHelper;
public static $options = [];
+6 -4
View File
@@ -2,19 +2,21 @@
namespace App\Console\Commands;
use App\Traits\UpdatePlayerSeasonHelper;
use App\Traits\UpdateHelper;
use Illuminate\Console\Command;
class Upd extends Command
{
use UpdatePlayerSeasonHelper;
use UpdateHelper;
protected $signature = 'upd {--d}';
protected $signature = 'update:player {--d}';
protected $description = 'update sofa_score_player_per_seasons';
public function handleUpdate(int $playerCount): void
{
$this->update($playerCount);
// Have fun running imports here
// Examples can be found in the ImportHelper trait
$this->updatePlayers($playerCount);
}
}