Code Duplication    Length = 8-8 lines in 3 locations

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

@@ 775-782 (lines=8) @@
772
     * @return \stdClass
773
     * @throws TwitchSDKException
774
     */
775
    public function authChannelGet($token)
776
    {
777
        $this->checkConfig();
778
        $queryString = $this->getAuthString($token);
779
        $channels = new Methods\Channel($this->request);
780
781
        return $channels->getChannel($queryString);
782
    }
783
784
    /**
785
     * Update channel's status or game
@@ 819-826 (lines=8) @@
816
     * @return \stdClass
817
     * @throws TwitchSDKException
818
     */
819
    public function authChannelResetKey($token, $channelName)
820
    {
821
        $this->checkConfig();
822
        $queryString = $this->getAuthString($token);
823
        $channel = new Methods\Channel($this->request);
824
825
        return $channel->resetStreamKey($channelName, $queryString);
826
    }
827
828
    /**
829
     * Returns an array of users who are editors of specified channel
@@ 836-843 (lines=8) @@
833
     * @return \stdClass
834
     * @throws TwitchSDKException
835
     */
836
    public function authChannelEditors($token, $channel)
837
    {
838
        $this->checkConfig();
839
        $queryString = $this->getAuthString($token);
840
        $channels = new Methods\Channel($this->request);
841
842
        return $channels->getEditors($channel, $queryString);
843
    }
844
845
    /**
846
     * Returns an array of subscriptions who are subscribed to specified channel