Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 9, 2020
1 parent 49a6815 commit 65ce882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function personalTeam()
*/
public function ownsTeam($team)
{
return (int) $this->id === (int) $team->user_id;
return $this->id == $team->user_id;
}

/**
Expand Down

0 comments on commit 65ce882

Please sign in to comment.