From 380760c5aab84b2ec848df391086fab21c971654 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Wed, 25 Sep 2024 04:13:22 +0700 Subject: [PATCH] fix import traits in HasLike --- src/HasLike.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/HasLike.php b/src/HasLike.php index 9a160ca..f250206 100644 --- a/src/HasLike.php +++ b/src/HasLike.php @@ -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; }