Code Duplication    Length = 8-8 lines in 3 locations

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

@@ 769-776 (lines=8) @@
766
     * @return \stdClass
767
     * @throws TwitchException
768
     */
769
    public function authChannelGet($token)
770
    {
771
        $this->checkConfig();
772
        $queryString = $this->getAuthString($token);
773
        $channels = new Methods\Channel($this->request);
774
775
        return $channels->getChannel($queryString);
776
    }
777
778
    /**
779
     * Update channel's status or game
@@ 813-820 (lines=8) @@
810
     * @return \stdClass
811
     * @throws TwitchException
812
     */
813
    public function authChannelResetKey($token, $channelName)
814
    {
815
        $this->checkConfig();
816
        $queryString = $this->getAuthString($token);
817
        $channel = new Methods\Channel($this->request);
818
819
        return $channel->resetStreamKey($channelName, $queryString);
820
    }
821
822
    /**
823
     * Returns an array of users who are editors of specified channel
@@ 830-837 (lines=8) @@
827
     * @return \stdClass
828
     * @throws TwitchException
829
     */
830
    public function authChannelEditors($token, $channel)
831
    {
832
        $this->checkConfig();
833
        $queryString = $this->getAuthString($token);
834
        $channels = new Methods\Channel($this->request);
835
836
        return $channels->getEditors($channel, $queryString);
837
    }
838
839
    /**
840
     * Returns an array of subscriptions who are subscribed to specified channel