Skip to content

Commit b2eb33b

Browse files
authored
Update Followable.php
1 parent 5810722 commit b2eb33b

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
@@ -219,7 +219,7 @@ public function attachFollowStatus($followables, callable $resolver = null)
219219
$followable = $resolver($followable);
220220

221221
if (\in_array(Followable::class, \class_uses($followable))) {
222-
$followable->setAttribute('has_followed', $followed->has($followable->getKey()));
222+
$followable->setAttribute('has_followed', $followed->contains($followable->getKey()));
223223
}
224224
});
225225

0 commit comments

Comments
 (0)