From b55fdb54b0924027416ac8a6461828e0daacd6dc Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 24 Feb 2024 14:33:20 -0600 Subject: [PATCH] BigInteger: dev-master updates --- phpseclib/Math/BigInteger/Engines/PHP.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/phpseclib/Math/BigInteger/Engines/PHP.php b/phpseclib/Math/BigInteger/Engines/PHP.php index d9d4d645..2d3aff13 100644 --- a/phpseclib/Math/BigInteger/Engines/PHP.php +++ b/phpseclib/Math/BigInteger/Engines/PHP.php @@ -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 ?