Skip to content

Commit 1bdf8eb

Browse files
committed
docs: update docblock for user like relation
1 parent 2384cc2 commit 1bdf8eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Traits/UserHasInteraction.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
namespace CSlant\LaravelLike\Traits;
44

5+
use Illuminate\Database\Eloquent\Model;
56
use Illuminate\Database\Eloquent\Relations\HasMany;
67

78
/**
89
* Trait UserInteraction
910
* use this trait in your User model
1011
*
1112
* @package CSlant\LaravelLike\Traits
12-
* @mixin \Illuminate\Database\Eloquent\Model
13+
* @mixin Model
14+
* @method Model hasMany(string $interactionModel, string $userForeignKey)
1315
*/
1416
trait UserHasInteraction
1517
{

0 commit comments

Comments
 (0)