Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Rename subscription model activation and deactivation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Omranic committed Jul 20, 2018
1 parent 7d2c526 commit 8761c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Models/Plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function getFeatureBySlug(string $featureSlug): ?PlanFeature
*
* @return $this
*/
public function makeActive()
public function activate()
{
$this->update(['is_active' => true]);

Expand All @@ -288,7 +288,7 @@ public function makeActive()
*
* @return $this
*/
public function makeInactive()
public function deactivate()
{
$this->update(['is_active' => false]);

Expand Down

0 comments on commit 8761c37

Please sign in to comment.