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

Commit

Permalink
Changes in doc to reflect new ofSubscriber breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
insign committed Mar 15, 2021
1 parent 037bfd5 commit f73d501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ $subscriptions = app('rinvex.subscriptions.plan_subscription')->byPlanId($plan_i
// Get bookings of the given user
$user = \App\Models\User::find(1);
$bookingsOfUser = app('rinvex.subscriptions.plan_subscription')->ofUser($user)->get();
$bookingsOfSubscriber = app('rinvex.subscriptions.plan_subscription')->ofSubscriber($user)->get();
// Get subscriptions with trial ending in 3 days
$subscriptions = app('rinvex.subscriptions.plan_subscription')->findEndingTrial(3)->get();
Expand Down

0 comments on commit f73d501

Please sign in to comment.