GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 4-9 lines in 2 locations

src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php 2 locations

@@ 594-602 (lines=9) @@
591
        {
592
            return '04' . $pubKey['x'] . $pubKey['y'];
593
        }
594
        else
595
        {
596
            if(gmp_strval(gmp_mod(gmp_init($pubKey['y'], 16), gmp_init(2, 10))) === '0')
597
                $pubKey = '02' . $pubKey['x'];	//if $pubKey['y'] is even
598
            else
599
                $pubKey = '03' . $pubKey['x'];	//if $pubKey['y'] is odd
600
601
            return $pubKey;
602
        }
603
    }
604
605
    /***
@@ 702-705 (lines=4) @@
699
        if(empty($pubKeyPts))
700
            $pubKeyPts = $this->getPubKeyPoints();
701
702
        if(gmp_strval(gmp_mod(gmp_init($pubKeyPts['y'], 16), gmp_init(2, 10))) === '0')
703
            $compressedPubKey = '02' . $pubKeyPts['x'];	//if $pubKey['y'] is even
704
        else
705
            $compressedPubKey = '03' . $pubKeyPts['x'];	//if $pubKey['y'] is odd
706
707
        return $compressedPubKey;
708
    }