@@ -74,7 +74,7 @@ $customer = $client->customers()->create('New customer name');
74
74
```
75
75
Returns the customer.
76
76
77
- ##### Update a customer
77
+ ##### Edit a customer
78
78
``` php
79
79
$customerId = 42;
80
80
$customerData = [
@@ -109,7 +109,7 @@ $packages = [
109
109
'expirationDate' => (new \DateTime())->add(new \DateInterval('P1Y'))->format('c'), // optional expiration date to limit updates the customer receives
110
110
],
111
111
];
112
- $packages = $client->customers()->addOrUpdatePackages ($customerId, $packages);
112
+ $packages = $client->customers()->addOrEditPackages ($customerId, $packages);
113
113
```
114
114
Returns an array of all added or edited customer packages.
115
115
@@ -173,7 +173,7 @@ $teams = [
173
173
'permission' => 'owner',
174
174
],
175
175
];
176
- $teams = $client->customers()->addOrUpdateTeams ($projectName, $teams);
176
+ $teams = $client->customers()->addOrEditTeams ($projectName, $teams);
177
177
```
178
178
Returns an array of added project teams.
179
179
@@ -273,13 +273,13 @@ $job = $client->packages()->createCustomPackage($packageDefinition, $credentialI
273
273
```
274
274
Returns a new job.
275
275
276
- ##### Update a vcs package
276
+ ##### Edit a vcs package
277
277
``` php
278
278
$job = $client->packages()->editVcsPackage('acme-website/package', 'https://github.com/acme-website/package');
279
279
```
280
280
Returns a new job.
281
281
282
- ##### Update a custom package
282
+ ##### Edit a custom package
283
283
``` php
284
284
$packageDefinition = '{...}'
285
285
$job = $client->packages()->editCustomPackage('acme-website/package', $packageDefinition);
@@ -319,7 +319,7 @@ $credential = $client->credentials()->create('ACME http auth', $type, 'acme-webs
319
319
```
320
320
Returns the new credential.
321
321
322
- ##### Update a credential
322
+ ##### Edit a credential
323
323
``` php
324
324
$credentialId = 42;
325
325
$type = \PrivatePackagist\ApiClient\Api\Credentials::TYPE_HTTP_BASIC;
0 commit comments