Skip to content

Commit 0c54beb

Browse files
committed
Added return value
1 parent 4505074 commit 0c54beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ private static function limitTelegramRequests(string $action, array $data = []):
927927
* @param array $data
928928
* @return ServerResponse
929929
*/
930-
public static function kickChatMember(array $data = [])
930+
public static function kickChatMember(array $data = []): ServerResponse
931931
{
932932
return static::banChatMember($data);
933933
}
@@ -941,7 +941,7 @@ public static function kickChatMember(array $data = [])
941941
* @param array $data
942942
* @return ServerResponse
943943
*/
944-
public static function getChatMembersCount(array $data = [])
944+
public static function getChatMembersCount(array $data = []): ServerResponse
945945
{
946946
return static::getChatMemberCount($data);
947947
}

0 commit comments

Comments
 (0)