Skip to content

Commit 5661e27

Browse files
glaubinixpscheit
andauthored
Update docs/setup-vendor.md
Co-authored-by: Philipp Scheit <p.scheit@packagist.com>
1 parent 67c6ecd commit 5661e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/setup-vendor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ $packages = $client->vendorBundles()->packages()->addOrEditPackages($vendorBundl
133133
$client->customers()->vendorBundles()->addOrEditVendorBundle(
134134
$customerId,
135135
$vendorBundle['id'],
136-
(new \DateTime())->add(new \DateInterval('P1Y'))->format('c'), // optional expiration date to limit updates the customer receives
136+
(new \DateTime('+1 year'))->format('c'), // optional expiration date to limit updates the customer receives
137137
);
138138
```
139139

0 commit comments

Comments
 (0)