Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 187-194 (lines=8) @@
184
     * @param   string
185
     * @return  stdClass
186
     */
187
    public function userFollowChannel($user, $channel, $userToken)
188
    {
189
        $query_string = $this->buildQueryString(array(
190
            'oauth_token' => $userToken,
191
        ));
192
193
        return $this->request(sprintf(self::URI_USER_FOLLOW_RELATION, $user, $channel) . $query_string, 'PUT');
194
    }
195
196
    /**
197
     * Set user to unfollow given channel
@@ 203-210 (lines=8) @@
200
     * @param   string
201
     * @return  stdClass
202
     */
203
    public function userUnfollowChannel($user, $channel, $userToken)
204
    {
205
        $query_string = $this->buildQueryString(array(
206
            'oauth_token' => $userToken,
207
        ));
208
209
        return $this->request(sprintf(self::URI_USER_FOLLOW_RELATION, $user, $channel) . $query_string, 'DELETE');
210
    }
211
212
    /**
213
     * Get the specified channel