We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8f7ef commit b20192cCopy full SHA for b20192c
src/Followable.php
@@ -90,7 +90,7 @@ public function hasRequestedToFollow(Model $user): bool
90
/* @var \Illuminate\Database\Eloquent\Model $this */
91
if ($this->relationLoaded('followings')) {
92
return $this->followings
93
- ->whereStrict('pivot.accepted_at', null)
+ ->where('pivot.accepted_at', '===', null)
94
->contains($user);
95
}
96
0 commit comments