Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 873-880 (lines=8) @@
870
     * @return \stdClass
871
     * @throws TwitchException
872
     */
873
    public function authSubscribedUser($token, $channel, $user)
874
    {
875
        $this->checkConfig();
876
        $queryString = $this->getAuthString($token);
877
        $subscription = new Methods\Subscription($this->request);
878
879
        return $subscription->getSubscribedUser($channel, $user, $queryString);
880
    }
881
882
    /**
883
     * Returns a channel object that user subscribes to
@@ 891-898 (lines=8) @@
888
     * @return \stdClass
889
     * @throws TwitchException
890
     */
891
    public function authSubscribedToChannel($token, $user, $channel)
892
    {
893
        $this->checkConfig();
894
        $queryString = $this->getAuthString($token);
895
        $subscription = new Methods\Subscription($this->request);
896
897
        return $subscription->getSubscribedToChannel($user, $channel, $queryString);
898
    }
899
900
    /**
901
     * List the live streams that the authenticated user is following