public function limit(int $limit)
    {
        $this->query = array_merge($this->query ?? [], ['limit' => $limit]);

        return $this;
    }
public function limit(int $limit)
    {
        $this->query = array_merge($this->query ?? [], ['limit' => $limit]);

        return $this;
    }
public function limit ( int $ limit ) { $ this -> query = array_merge ( $ this -> query ?? [ ] , [ 'limit' => $ limit ] ) ; return $ this ; }
Set or overwrite the number of items that is requested from the Last.fm API.

@param int $limit

@return $this
Set or overwrite the number of items that is requested from the Last . fm API .