You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -12,11 +12,17 @@ class Room extends Model
|
||||
{
|
||||
protected $guarded = ['id'];
|
||||
|
||||
/**
|
||||
* @return HasOne<Guild, $this>
|
||||
*/
|
||||
public function guild(): HasOne
|
||||
{
|
||||
return $this->hasOne(Guild::class, 'room_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return BelongsTo<User, $this>
|
||||
*/
|
||||
public function owner(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(User::class, 'owner_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user