mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 03:16:02 +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 int
|
||||
*/
|
||||
public function getLength()
|
||||
public function getLength(): int
|
||||
{
|
||||
$max = count($this->value) - 1;
|
||||
return $max != -1 ?
|
||||
|
Loading…
Reference in New Issue
Block a user