diff --git a/src/base/PlanInterface.php b/src/base/PlanInterface.php index e8a358a747..01f164a44c 100644 --- a/src/base/PlanInterface.php +++ b/src/base/PlanInterface.php @@ -21,5 +21,5 @@ interface PlanInterface /** * Returns whether it's possible to switch to this plan from a different plan. */ - public function canSwitchFrom(PlanInterface $currentPlant): bool; + public function canSwitchFrom(PlanInterface $currentPlan): bool; } diff --git a/src/models/subscriptions/DummyPlan.php b/src/models/subscriptions/DummyPlan.php index d6cd012513..8e6b1b31fb 100644 --- a/src/models/subscriptions/DummyPlan.php +++ b/src/models/subscriptions/DummyPlan.php @@ -21,7 +21,7 @@ class DummyPlan extends Plan /** * @inheritdoc */ - public function canSwitchFrom(PlanInterface $currentPlant): bool + public function canSwitchFrom(PlanInterface $currentPlan): bool { return true; }