Skip to content

Commit

Permalink
fix import traits in HasLike
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Sep 24, 2024
1 parent 218f8c0 commit 380760c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/HasLike.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
*/
trait HasLike
{
use LikeRelationship, LikeScopes {
LikeRelationship::likes insteadof LikeScopes;
LikeRelationship::likeOne insteadof LikeScopes;
LikeScopes::likes as likesScope;
LikeScopes::likeOne as likeOneScope;
}
use LikeRelationship;
use LikeScopes;
use LikeCount;
}

0 comments on commit 380760c

Please sign in to comment.