Skip to content

Commit

Permalink
feat: add methods to docblock for clean LikeCount trait
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Sep 24, 2024
1 parent 380760c commit 63b5fa0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Traits/LikeCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
namespace CSlant\LaravelLike\Traits;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphMany;

/**
* Trait LikeCount
*
* @package CSlant\LaravelLike\Traits
* @mixin Model
*
* @method MorphMany likesTo()
* @method MorphMany dislikesTo()
*/
trait LikeCount
{
Expand Down

0 comments on commit 63b5fa0

Please sign in to comment.