🆙 More fixes 🆙
This commit is contained in:
1 parent
f2ba190a47
commit
6c42ec0edd
10 files changed
+33
-8
No files matched your search
@@ -8,6 +8,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class MessengerFriendship extends Model
|
||||
{
|
||||
/**
|
||||
* @return BelongsTo<User, $this>
|
||||
*/
|
||||
public function user(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(User::class, 'user_two_id', 'id');
|
||||
|
||||
Reference in new issue
Block a user