Skip to content

Commit

Permalink
feat: add methods to docblock for clean traits
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Sep 24, 2024
1 parent fff42ae commit 218f8c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/HasLove.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
*
* @package CSlant\LaravelLike
* @mixin Model
*
* @method MorphOne likeOne()
* @method MorphMany likes()
*/
trait HasLove
{
Expand Down
3 changes: 3 additions & 0 deletions src/Traits/LikeScopes.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
*
* @package CSlant\LaravelLike\Traits
* @mixin Model
*
* @method MorphOne likeOne()
* @method MorphMany likes()
*/
trait LikeScopes
{
Expand Down

0 comments on commit 218f8c0

Please sign in to comment.