protected function updateDiscussionsCount(User $user, $amount) { $user->discussions_count += $amount; $user->save(); }