🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 21:04:53 +01:00
parent 451b7edda3
commit 8d3115678c
10 changed files with 75 additions and 21 deletions
@@ -17,11 +17,17 @@ class WebsiteRareValue extends Model
];
}
/**
* @return BelongsTo<WebsiteRareValueCategory, $this>
*/
public function category(): BelongsTo
{
return $this->belongsTo(WebsiteRareValueCategory::class, 'category_id');
}
/**
* @return BelongsTo<CatalogItem, $this>
*/
public function item(): BelongsTo
{
return $this->belongsTo(CatalogItem::class, 'item_id', 'item_ids');