Code Duplication    Length = 10-11 lines in 3 locations

src/jofner/SDK/TwitchTV/TwitchSDK.php 3 locations

@@ 272-282 (lines=11) @@
269
     * @return \stdClass
270
     * @throws TwitchException
271
     */
272
    public function teamList($limit = null, $offset = null)
273
    {
274
        $queryString = $this->helper->buildQueryString(array(
275
            'limit' => $limit,
276
            'offset' => $offset,
277
        ));
278
279
        $team = new Methods\Team($this->request);
280
281
        return $team->getTeams($queryString);
282
    }
283
284
    /**
285
     * Get all team members
@@ 492-501 (lines=10) @@
489
     * @return \stdClass
490
     * @throws TwitchException
491
     */
492
    public function chatEmoticonsImages($emoteset = null)
493
    {
494
        $queryString = $this->helper->buildQueryString(array(
495
            'emotesets' => $emoteset,
496
        ));
497
498
        $chat = new Methods\Chat($this->request);
499
500
        return $chat->getEmoticonImages($queryString);
501
    }
502
503
    /**
504
     * Returns a list of chat badges
@@ 523-533 (lines=11) @@
520
     * @return \stdClass
521
     * @throws TwitchException
522
     */
523
    public function gamesTop($limit = null, $offset = null)
524
    {
525
        $queryString = $this->helper->buildQueryString(array(
526
            'limit' => $limit,
527
            'offset' => $offset,
528
        ));
529
530
        $game = new Methods\Game($this->request);
531
532
        return $game->getTop($queryString);
533
    }
534
535
    /**
536
     * Search games