Skip to content

Commit a2f2738

Browse files
authored
Update README.md
Fix comment on addOrUpdate in documentation
1 parent 9ed88e3 commit a2f2738

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ $customerId = 42;
102102
$packages = [
103103
[
104104
'name' => 'acme-website/package',
105-
'versionConstraint' => '^1.0 | ^2.0', // optional version constraint to limit updades the customer receives
106-
'expirationDate' => (new \DateTime())->add(new \DateInterval('P1Y'))->format('c'), // optional expiration date to limit updades the customer receives
105+
'versionConstraint' => '^1.0 | ^2.0', // optional version constraint to limit updates the customer receives
106+
'expirationDate' => (new \DateTime())->add(new \DateInterval('P1Y'))->format('c'), // optional expiration date to limit updates the customer receives
107107
],
108108
];
109109
$packages = $client->customers()->addOrUpdatePackages($customerId, $packages);
110110
```
111-
Returns an array of added customer packages.
111+
Returns an array of all added or updated customer packages.
112112

113113
##### Revoke access to a package from a customer
114114
```php

0 commit comments

Comments
 (0)