You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why this method adds points to the user with the id: 1, and not on which it is pointing? What's the reason of the $user, then? $user->givePoint(new PostCreated($post));