Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 732-739 (lines=8) @@
729
     * @return \stdClass
730
     * @throws TwitchException
731
     */
732
    public function authBlockTarget($token, $user, $target)
733
    {
734
        $this->checkConfig();
735
        $queryString = $this->getAuthString($token);
736
        $block = new Methods\Block($this->request);
737
738
        return $block->blockTarget($user, $target, $queryString);
739
    }
740
741
    /**
742
     * Removes $target from $user block list
@@ 750-757 (lines=8) @@
747
     * @return \stdClass
748
     * @throws TwitchException
749
     */
750
    public function authRemoveTarget($token, $user, $target)
751
    {
752
        $this->checkConfig();
753
        $queryString = $this->getAuthString($token);
754
        $block = new Methods\Block($this->request);
755
756
        return $block->removeTarget($user, $target, $queryString);
757
    }
758
759
    /**
760
     * Get the authenticated channel