diff --git a/app/Http/Controllers/BookmarkController.php b/app/Http/Controllers/BookmarkController.php index 14b1d9e3f..dfebaf372 100644 --- a/app/Http/Controllers/BookmarkController.php +++ b/app/Http/Controllers/BookmarkController.php @@ -48,9 +48,10 @@ class BookmarkController extends Controller } } - $bookmark = Bookmark::firstOrCreate( - ['status_id' => $status->id], ['profile_id' => $user->profile_id] - ); + $bookmark = Bookmark::firstOrCreate([ + 'status_id' => $status->id, + 'profile_id' => $user->profile_id + ]); if (! $bookmark->wasRecentlyCreated) { BookmarkService::del($user->profile_id, $status->id);