🆙 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
@@ -18,6 +18,9 @@ class ItemBase extends Model
return sprintf('%s/%s_icon.png', setting('furniture_icons_path'), $this->item_name);
}
/**
* @return HasMany<CatalogItem, $this>
*/
public function catalogItems(): HasMany
{
return $this->hasMany(CatalogItem::class, 'item_ids', 'id');