bpuig / laravel-subby

Laravel Plan and Subscriptions manager.
https://bpuig.github.io/laravel-subby
MIT License
104 stars 42 forks source link

Plan > combinations . config #125

Closed serdartaylan closed 2 years ago

serdartaylan commented 2 years ago

The config information in the combinations method is incorrect.

\Bpuig\Subby\Models\Plan > combinations

/**
 * The plan may have many combinations.
 *
 * @return \Illuminate\Database\Eloquent\Relations\HasMany
 */
public function combinations(): HasMany
{
    return $this->hasMany(config('subby.models.plan_combination'), 'plan_id', 'id');
}

Status

READY/IN DEVELOPMENT/HOLD

Migrations

YES | NO

Description

A few sentences describing the overall goals of the pull request's commits.

Todos

Deploy Notes

Notes regarding deployment the contained body of work. These should note any db migrations, etc.

Impacted Areas in Application

List general components of the application that this PR will affect: