diff --git a/src/app/DomainSetting.php b/src/app/DomainSetting.php index d16a184c..de5a13b3 100644 --- a/src/app/DomainSetting.php +++ b/src/app/DomainSetting.php @@ -1,33 +1,29 @@ The attributes that are mass assignable */ protected $fillable = ['domain_id', 'key', 'value']; /** * The domain to which this setting belongs. * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function domain() { - return $this->belongsTo( - Domain::class, - 'domain_id', /* local */ - 'id' /* remote */ - ); + return $this->belongsTo(Domain::class, 'domain_id', 'id'); } }