Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 906-913 (lines=8) @@
903
     * @return \stdClass
904
     * @throws TwitchException
905
     */
906
    public function authSubscribedUser($token, $channel, $user)
907
    {
908
        $this->checkConfig();
909
        $queryString = $this->getAuthString($token);
910
        $subscription = new Methods\Subscription($this->request);
911
912
        return $subscription->getSubscribedUser($channel, $user, $queryString);
913
    }
914
915
    /**
916
     * Returns a channel object that user subscribes to
@@ 924-931 (lines=8) @@
921
     * @return \stdClass
922
     * @throws TwitchException
923
     */
924
    public function authSubscribedToChannel($token, $user, $channel)
925
    {
926
        $this->checkConfig();
927
        $queryString = $this->getAuthString($token);
928
        $subscription = new Methods\Subscription($this->request);
929
930
        return $subscription->getSubscribedToChannel($user, $channel, $queryString);
931
    }
932
933
    /**
934
     * List the live streams that the authenticated user is following