Skip to content

Commit 3b2df51

Browse files
[12.x] Carbon import (#10611)
* Update billing.md * Update pennant.md
1 parent 5cc9cfc commit 3b2df51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

billing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ This method will set the trial period ending date on the subscription record wit
17551755
The `trialUntil` method allows you to provide a `DateTime` instance that specifies when the trial period should end:
17561756

17571757
```php
1758-
use Carbon\Carbon;
1758+
use Illuminate\Support\Carbon;
17591759

17601760
$user->newSubscription('default', 'price_monthly')
17611761
->trialUntil(Carbon::now()->addDays(10))

pennant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ Of course, feature scopes are not limited to "users". Imagine you have built a n
523523

524524
```php
525525
use App\Models\Team;
526-
use Carbon\Carbon;
526+
use Illuminate\Support\Carbon;
527527
use Illuminate\Support\Lottery;
528528
use Laravel\Pennant\Feature;
529529

0 commit comments

Comments
 (0)