Skip to content

Commit 65ce882

Browse files
committed
fix check
1 parent 49a6815 commit 65ce882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HasTeams.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function personalTeam()
8080
*/
8181
public function ownsTeam($team)
8282
{
83-
return (int) $this->id === (int) $team->user_id;
83+
return $this->id == $team->user_id;
8484
}
8585

8686
/**

0 commit comments

Comments
 (0)