mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-12 18:01:09 +00:00
BigInteger: dev-master updates
This commit is contained in:
parent
8351a813cc
commit
b55fdb54b0
@ -1254,10 +1254,8 @@ abstract class PHP extends Engine
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the size of a BigInteger in bits
|
* Return the size of a BigInteger in bits
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
*/
|
||||||
public function getLength()
|
public function getLength(): int
|
||||||
{
|
{
|
||||||
$max = count($this->value) - 1;
|
$max = count($this->value) - 1;
|
||||||
return $max != -1 ?
|
return $max != -1 ?
|
||||||
|
Loading…
Reference in New Issue
Block a user