We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a6815 commit 65ce882Copy full SHA for 65ce882
src/HasTeams.php
@@ -80,7 +80,7 @@ public function personalTeam()
80
*/
81
public function ownsTeam($team)
82
{
83
- return (int) $this->id === (int) $team->user_id;
+ return $this->id == $team->user_id;
84
}
85
86
/**
0 commit comments