Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 725-732 (lines=8) @@
722
     * @return \stdClass
723
     * @throws TwitchException
724
     */
725
    public function blockTarget($token, $user, $target)
726
    {
727
        $this->checkConfig();
728
        $queryString = $this->getAuthString($token);
729
        $block = new Methods\Block($this->request);
730
731
        return $block->blockTarget($user, $target, $queryString);
732
    }
733
734
    /**
735
     * Removes $target from $user block list
@@ 743-750 (lines=8) @@
740
     * @return \stdClass
741
     * @throws TwitchException
742
     */
743
    public function removeTarget($token, $user, $target)
744
    {
745
        $this->checkConfig();
746
        $queryString = $this->getAuthString($token);
747
        $block = new Methods\Block($this->request);
748
749
        return $block->removeTarget($user, $target, $queryString);
750
    }
751
752
    /**
753
     * Get the authenticated channel