🆙 More fixes 🆙
This commit is contained in:
1 parent
451b7edda3
commit
8d3115678c
10 files changed
+75
-21
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user