Skip to content

Commit

Permalink
Change functions signature.
Browse files Browse the repository at this point in the history
This is to make the comminityId param be first(ish)
  • Loading branch information
adrorocker committed Apr 5, 2023
1 parent fa01676 commit 9c1090d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Endpoint/Member/Members.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
final class Members extends AbstractEndpoint implements EndpointInterface
{
public function communityMembers(
?int $communityId = null,
?string $sortBy = null,
?int $perPage = null,
?int $page = null,
?string $status = null,
?int $communityId = null,
): mixed {
$this->ensureCommunityIdIsPresent($communityId);

Expand Down Expand Up @@ -100,10 +100,10 @@ public function member(int $id, ?int $communityId = null): mixed
public function update(
int $id,
array $data,
?int $communityId = null,
?array $spaceIds = null,
?array $spaceGroupIds = null,
?bool $skipInvitation = null,
?int $communityId = null,
): mixed {
$this->ensureCommunityIdIsPresent($communityId);

Expand Down

0 comments on commit 9c1090d

Please sign in to comment.