Fix the UserWasUpdated event only receiving boolean on update

Signed-off-by: 's avatarMicheal Mand <micheal@kmdwebdesigns.com>
parent 6ee967f6
...@@ -115,7 +115,7 @@ class SentinelUserRepository implements UserRepository ...@@ -115,7 +115,7 @@ class SentinelUserRepository implements UserRepository
*/ */
public function update($user, $data) public function update($user, $data)
{ {
$user = $user->update($data); $user->update($data);
event(new UserWasUpdated($user)); event(new UserWasUpdated($user));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment