lib/Imgur/Api/Gallery.php
public function comments($imageOrAlbumId, $sort = 'best')
    {
        $this->validateSortArgument($sort, ['best', 'top', 'new']);

        return $this->get('gallery/' . $imageOrAlbumId . '/comments/' . $sort);
    }
public function comments($imageOrAlbumId, $sort = 'best')
    {
        $this->validateSortArgument($sort, ['best', 'top', 'new']);

        return $this->get('gallery/' . $imageOrAlbumId . '/comments/' . $sort);
    }
public function comments ( $ imageOrAlbumId , $ sort = 'best' ) { $ this -> validateSortArgument ( $ sort , [ 'best' , 'top' , 'new' ] ) ; return $ this -> get ( 'gallery/' . $ imageOrAlbumId . '/comments/' . $ sort ) ; }
Retrieve comments on an image or album in the gallery.

@param string $imageOrAlbumId
@param string $sort           (best | top | new)

@see https://api.imgur.com/endpoints/gallery#gallery-comments

@return array Array of Comment (@see https://api.imgur.com/endpoints/gallery#gallery-comments)
Retrieve comments on an image or album in the gallery .