fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -7,9 +7,7 @@ use Illuminate\Support\Facades\DB;
class PreferencesCommandService
{
public function __construct(private PreferencesOptionsService $options)
{
}
public function __construct(private PreferencesOptionsService $options) {}
public function upsert(int $userId, array $payload): Preferences
{
@@ -22,6 +20,7 @@ class PreferencesCommandService
if ($existing) {
$existing->fill($data);
$existing->save();
return $existing->refresh();
}