mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-07 05:03:18 +02:00
27 lines
504 B
PHP
27 lines
504 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Actions\Repositories;
|
|
|
|
use App\Concerns\Repositories\ReconcilesRepositories;
|
|
use App\Filament\Actions\BaseAction;
|
|
use Exception;
|
|
|
|
abstract class ReconcileAction extends BaseAction
|
|
{
|
|
use ReconcilesRepositories;
|
|
|
|
/**
|
|
* @param array<string, mixed> $data
|
|
*
|
|
* @throws Exception
|
|
*/
|
|
public function handle(array $data): void
|
|
{
|
|
$result = $this->reconcileRepositories($data);
|
|
|
|
$result->toLog();
|
|
}
|
|
}
|