🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 20:43:46 +01:00
parent deed2158ca
commit 7b9849c159
77 changed files with 1084 additions and 13612 deletions
@@ -10,11 +10,17 @@ class WebsiteUserGuestbook extends Model
{
protected $guarded = ['id'];
/**
* @return BelongsTo<User, $this>
*/
public function profile(): BelongsTo
{
return $this->belongsTo(User::class, 'profile_id');
}
/**
* @return BelongsTo<User, $this>
*/
public function user(): BelongsTo
{
return $this->belongsTo(User::class, 'user_id');