🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 21:02:53 +01:00
parent 6c42ec0edd
commit 451b7edda3
10 changed files with 39 additions and 9 deletions
@@ -12,11 +12,17 @@ class WebsiteHelpCenterTicketReply extends Model
{
protected $guarded = ['id'];
/**
* @return BelongsTo<WebsiteHelpCenterTicket, $this>
*/
public function ticket(): BelongsTo
{
return $this->belongsTo(WebsiteHelpCenterTicket::class, 'ticket_id');
}
/**
* @return BelongsTo<User, $this>
*/
public function user(): BelongsTo
{
return $this->belongsTo(User::class, 'user_id');