@@ -79,7 +79,7 @@ $customerData = [
7979 'urlName' => 'customer',
8080 'accessToVersionControlSource' => false,
8181];
82- $customer = $client->customers()->update ($customerId, $customerData);
82+ $customer = $client->customers()->edit ($customerId, $customerData);
8383```
8484Returns the customer.
8585
@@ -96,7 +96,7 @@ $packages = $client->customers()->listPackages($customerId);
9696```
9797Returns an array of customer packages.
9898
99- ##### Grant a customer access to a package or update the limitations
99+ ##### Grant a customer access to a package or edit the limitations
100100``` php
101101$customerId = 42;
102102$packages = [
@@ -108,7 +108,7 @@ $packages = [
108108];
109109$packages = $client->customers()->addOrUpdatePackages($customerId, $packages);
110110```
111- Returns an array of all added or updated customer packages.
111+ Returns an array of all added or edited customer packages.
112112
113113##### Revoke access to a package from a customer
114114``` php
@@ -125,7 +125,7 @@ $confirmation = [
125125];
126126$composerRepository = $client->customers()->regenerateToken($customerId, $confirmation);
127127```
128- Returns the updated Composer repository.
128+ Returns the edited Composer repository.
129129
130130#### Project
131131
@@ -161,7 +161,7 @@ $teams = $client->projects()->listTeams($projectName);
161161```
162162Returns an array of projects teams.
163163
164- ##### Add a team to a project or update the permission
164+ ##### Add a team to a project or edit the permission
165165``` php
166166$projectName = 'project';
167167$teams = [
@@ -272,14 +272,14 @@ Returns a new job.
272272
273273##### Update a vcs package
274274``` php
275- $job = $client->packages()->updateVcsPackage ('acme-website/package', 'https://github.com/acme-website/package');
275+ $job = $client->packages()->editVcsPackage ('acme-website/package', 'https://github.com/acme-website/package');
276276```
277277Returns a new job.
278278
279279##### Update a custom package
280280``` php
281281$packageDefinition = '{...}'
282- $job = $client->packages()->updateCustomPackage ('acme-website/package', $packageDefinition);
282+ $job = $client->packages()->editCustomPackage ('acme-website/package', $packageDefinition);
283283```
284284Returns a new job.
285285
@@ -320,9 +320,9 @@ Returns the new credential.
320320``` php
321321$credentialId = 42;
322322$type = \PrivatePackagist\ApiClient\Api\Credentials::TYPE_HTTP_BASIC;
323- $credential = $client->credentials()->update ($credentialId, $type, 'username', 'password');
323+ $credential = $client->credentials()->edit ($credentialId, $type, 'username', 'password');
324324```
325- Returns the updated credential.
325+ Returns the edited credential.
326326
327327##### Delete a credential
328328``` php
0 commit comments