From e780c1ef146f07c633bcc6b9ff7f31b9d3ad0178 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Sat, 28 Sep 2024 08:03:20 +0700 Subject: [PATCH] chore: change user interaction namespace --- src/HasLike.php | 2 +- src/HasLove.php | 2 +- src/{Traits => }/UserHasInteraction.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{Traits => }/UserHasInteraction.php (95%) diff --git a/src/HasLike.php b/src/HasLike.php index 68f71bb..c1eed0e 100644 --- a/src/HasLike.php +++ b/src/HasLike.php @@ -9,7 +9,7 @@ /** * Trait HasLike - * use this trait in your model to enable liking functionality + * use this trait in your model(post, article,...) to enable liking functionality * * @package CSlant\LaravelLike * @mixin Model diff --git a/src/HasLove.php b/src/HasLove.php index 7ce09fc..038f82a 100644 --- a/src/HasLove.php +++ b/src/HasLove.php @@ -9,7 +9,7 @@ /** * Trait HasLove - * use this trait in your model to enable liking functionality + * use this trait in your model(post,article,...) to enable liking functionality * * @package CSlant\LaravelLike * @mixin Model diff --git a/src/Traits/UserHasInteraction.php b/src/UserHasInteraction.php similarity index 95% rename from src/Traits/UserHasInteraction.php rename to src/UserHasInteraction.php index 7701909..25dd5ea 100644 --- a/src/Traits/UserHasInteraction.php +++ b/src/UserHasInteraction.php @@ -1,6 +1,6 @@