Fix Pint formatting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user