BigInteger: dev-master updates

This commit is contained in:
terrafrost 2024-02-24 14:33:20 -06:00
parent 8351a813cc
commit b55fdb54b0
1 changed files with 1 additions and 3 deletions

View File

@ -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 ?