Skip to content

Commit b7d6c87

Browse files
authored
Merge pull request #146 from sdevore/patch-1
hasRequestedToFollow is the only function that specifies type Model on argument $user
2 parents fd18ad3 + fca9b2c commit b7d6c87

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
@@ -81,7 +81,7 @@ public function acceptFollowRequestFrom($user)
8181
/**
8282
* @param \Illuminate\Database\Eloquent\Model|int $user
8383
*/
84-
public function hasRequestedToFollow(Model $user): bool
84+
public function hasRequestedToFollow($user): bool
8585
{
8686
if ($user instanceof Model) {
8787
$user = $user->getKey();

0 commit comments

Comments
 (0)