belongsTo(Mod::class); } /** * The relationship between a mod version and its dependencies. */ public function dependencies(): HasMany { return $this->hasMany(ModDependency::class); } /** * The relationship between a mod version and SPT version. */ public function sptVersion(): BelongsTo { return $this->belongsTo(SptVersion::class); } }