Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 882-889 (lines=8) @@
879
     * @return \stdClass
880
     * @throws TwitchSDKException
881
     */
882
    public function authSubscribedUser($token, $channel, $user)
883
    {
884
        $this->checkConfig();
885
        $queryString = $this->getAuthString($token);
886
        $subscription = new Methods\Subscription($this->request);
887
888
        return $subscription->getSubscribedUser($channel, $user, $queryString);
889
    }
890
891
    /**
892
     * Returns a channel object that user subscribes to
@@ 900-907 (lines=8) @@
897
     * @return \stdClass
898
     * @throws TwitchSDKException
899
     */
900
    public function authSubscribedToChannel($token, $user, $channel)
901
    {
902
        $this->checkConfig();
903
        $queryString = $this->getAuthString($token);
904
        $subscription = new Methods\Subscription($this->request);
905
906
        return $subscription->getSubscribedToChannel($user, $channel, $queryString);
907
    }
908
909
    /**
910
     * List the live streams that the authenticated user is following