lib/Imgur/Api/Account.php
public function commentIds($username = 'me', $page = 0, $sort = 'newest')
    {
        $this->validateSortArgument($sort, ['best', 'worst', 'oldest', 'newest']);

        return $this->get('account/' . $username . '/comments/ids/' . $sort . '/' . (int) $page);
    }
public function commentIds($username = 'me', $page = 0, $sort = 'newest')
    {
        $this->validateSortArgument($sort, ['best', 'worst', 'oldest', 'newest']);

        return $this->get('account/' . $username . '/comments/ids/' . $sort . '/' . (int) $page);
    }
public function commentIds ( $ username = 'me' , $ page = 0 , $ sort = 'newest' ) { $ this -> validateSortArgument ( $ sort , [ 'best' , 'worst' , 'oldest' , 'newest' ] ) ; return $ this -> get ( 'account/' . $ username . '/comments/ids/' . $ sort . '/' . ( int ) $ page ) ; }
Return an array of all of the comment IDs.

@param string $username
@param int    $page
@param string $sort     'best', 'worst', 'oldest', or 'newest'. Defaults to 'newest'

@see https://api.imgur.com/endpoints/account#comment-ids

@return array<int>
Return an array of all of the comment IDs .