File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -229,12 +229,10 @@ Returns an array of teams.
229229use PrivatePackagist\ApiClient\TeamPermissions;
230230
231231$permissions = new TeamPermissions;
232- $team = $client->teams()->create('New Team Name', $permissions, $canAccessAllPackages );
232+ $team = $client->teams()->create('New Team Name', $permissions);
233233```
234234Creates a team and sets permissions applied to team members. Returns the newly-created team.
235235
236- The ` $canAccessAllPackages ` argument defaults to ` false ` .
237-
238236#### Show a Team
239237``` php
240238
@@ -248,12 +246,10 @@ Returns the team including all its members.
248246use PrivatePackagist\ApiClient\TeamPermissions;
249247
250248$permissions = new TeamPermissions;
251- $team = $client->teams()->edit($teamId, 'Altered Team Name', $permissions, $canAccessAllPackages );
249+ $team = $client->teams()->edit($teamId, 'Altered Team Name', $permissions);
252250```
253251Edits a team's name and permissions to be applied to team members. Returns the updated team.
254252
255- The ` $canAccessAllPackages ` argument defaults to ` null ` , meaning that the setting is left unchanged.
256-
257253#### Grant All Package Access
258254``` php
259255$team = $client->teams()->grantAccessToAllPackages($teamId);
You can’t perform that action at this time.
0 commit comments