Code Duplication    Length = 8-8 lines in 3 locations

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

@@ 759-766 (lines=8) @@
756
     * @return \stdClass
757
     * @throws TwitchException
758
     */
759
    public function authChannelGet($token)
760
    {
761
        $this->checkConfig();
762
        $queryString = $this->getAuthString($token);
763
        $channels = new Methods\Channel($this->request);
764
765
        return $channels->getChannel($queryString);
766
    }
767
768
    /**
769
     * Update channel's status or game
@@ 803-810 (lines=8) @@
800
     * @return \stdClass
801
     * @throws TwitchException
802
     */
803
    public function authChannelResetKey($token, $channelName)
804
    {
805
        $this->checkConfig();
806
        $queryString = $this->getAuthString($token);
807
        $channel = new Methods\Channel($this->request);
808
809
        return $channel->resetStreamKey($channelName, $queryString);
810
    }
811
812
    /**
813
     * Returns an array of users who are editors of specified channel
@@ 820-827 (lines=8) @@
817
     * @return \stdClass
818
     * @throws TwitchException
819
     */
820
    public function authChannelEditors($token, $channel)
821
    {
822
        $this->checkConfig();
823
        $queryString = $this->getAuthString($token);
824
        $channels = new Methods\Channel($this->request);
825
826
        return $channels->getEditors($channel, $queryString);
827
    }
828
829
    /**
830
     * Returns an array of subscriptions who are subscribed to specified channel