Skip to content

Commit

Permalink
fix: Error on undefined method planSubscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziearts committed Jul 22, 2024
1 parent 3567b6e commit bf23327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected static function boot(): void

static::deleted(function (Plan $plan): void {
$plan->features()->delete();
$plan->planSubscriptions()->delete();
$plan->subscriptions()->delete();
});
}

Expand Down

0 comments on commit bf23327

Please sign in to comment.