Skip to content

Commit 9a010a7

Browse files
author
Satoru Yoshihara
committed
Changed method parameter name same as for other SDKs
1 parent 499017a commit 9a010a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/LINEBot.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ public function getRoomMemberProfile($roomId, $userId)
240240
* This feature is only available for LINE@ Approved accounts or official accounts.
241241
*
242242
* @param string $groupId Identifier of the group
243-
* @param string $continuationToken continuationToken
243+
* @param string $start continuationToken
244244
* @return Response
245245
*/
246-
public function getGroupMemberIds($groupId, $continuationToken = null)
246+
public function getGroupMemberIds($groupId, $start = null)
247247
{
248248
$url = sprintf('%s/v2/bot/group/%s/members/ids', $this->endpointBase, urlencode($groupId));
249-
$params = is_null($continuationToken) ? [] : ['start' => $continuationToken];
249+
$params = is_null($start) ? [] : ['start' => $start];
250250
return $this->httpClient->get($url, $params);
251251
}
252252

@@ -257,13 +257,13 @@ public function getGroupMemberIds($groupId, $continuationToken = null)
257257
* This feature is only available for LINE@ Approved accounts or official accounts.
258258
*
259259
* @param string $roomId Identifier of the room
260-
* @param string $continuationToken continuationToken
260+
* @param string $start continuationToken
261261
* @return Response
262262
*/
263-
public function getRoomMemberIds($roomId, $continuationToken = null)
263+
public function getRoomMemberIds($roomId, $start = null)
264264
{
265265
$url = sprintf('%s/v2/bot/room/%s/members/ids', $this->endpointBase, urlencode($roomId));
266-
$params = is_null($continuationToken) ? [] : ['start' => $continuationToken];
266+
$params = is_null($start) ? [] : ['start' => $start];
267267
return $this->httpClient->get($url, $params);
268268
}
269269

0 commit comments

Comments
 (0)