Skip to content

Commit

Permalink
BigInteger: dev-master updates
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Feb 24, 2024
1 parent 8351a81 commit b55fdb5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions phpseclib/Math/BigInteger/Engines/PHP.php
Expand Up @@ -1254,10 +1254,8 @@ protected static function testJITOnWindows()

/**
* Return the size of a BigInteger in bits
*
* @return int
*/
public function getLength()
public function getLength(): int
{
$max = count($this->value) - 1;
return $max != -1 ?
Expand Down

0 comments on commit b55fdb5

Please sign in to comment.