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

@@ 582-590 (lines=9) @@
579
        {
580
            return '04' . $pubKey['x'] . $pubKey['y'];
581
        }
582
        else
583
        {
584
            if(gmp_strval(gmp_mod(gmp_init($pubKey['y'], 16), gmp_init(2, 10))) === '0')
585
                $pubKey = '02' . $pubKey['x'];	//if $pubKey['y'] is even
586
            else
587
                $pubKey = '03' . $pubKey['x'];	//if $pubKey['y'] is odd
588
589
            return $pubKey;
590
        }
591
    }
592
593
    /***
@@ 690-693 (lines=4) @@
687
        if(empty($pubKeyPts))
688
            $pubKeyPts = $this->getPubKeyPoints();
689
690
        if(gmp_strval(gmp_mod(gmp_init($pubKeyPts['y'], 16), gmp_init(2, 10))) === '0')
691
            $compressedPubKey = '02' . $pubKeyPts['x'];	//if $pubKey['y'] is even
692
        else
693
            $compressedPubKey = '03' . $pubKeyPts['x'];	//if $pubKey['y'] is odd
694
695
        return $compressedPubKey;
696
    }