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