Skip to content

Commit b20192c

Browse files
committed
Fixed #139
1 parent 0a8f7ef commit b20192c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Followable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function hasRequestedToFollow(Model $user): bool
9090
/* @var \Illuminate\Database\Eloquent\Model $this */
9191
if ($this->relationLoaded('followings')) {
9292
return $this->followings
93-
->whereStrict('pivot.accepted_at', null)
93+
->where('pivot.accepted_at', '===', null)
9494
->contains($user);
9595
}
9696

0 commit comments

Comments
 (0)